Fix ref-naming typo in the Github Docker workflow

When triggering upon a tag push, we now correctly compute the Docker image tag
based on the VERSION file.
This commit is contained in:
Christian Kreibich 2021-11-15 09:49:18 -08:00
parent 59d7d2896c
commit 9675d866bb

View file

@ -61,7 +61,7 @@ jobs:
echo "::set-output name=tag::zeek:latest"
elif [ "${GITHUB_REF}" = "refs/heads/master" ]; then
echo "::set-output name=tag::zeek-dev:latest"
elif [[ "${GITHUB_REF}" = refs/heads/v* ]] && [[ "${GITHUB_REF}" != refs/heads/v*-dev ]]; then
elif [[ "${GITHUB_REF}" = refs/tags/v* ]] && [[ "${GITHUB_REF}" != refs/tags/v*-dev ]]; then
echo "::set-output name=tag::zeek:${RELEASE_VERSION}"
fi