diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c68aae91..7ac2a7af 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -33,7 +33,7 @@ jobs: fi TAGS="--tag ${DOCKER_IMAGE}:latest" - if [[ ! -v $VERSION ]]; then + if [[ ! -z "$VERSION" ]]; then TAGS="$TAGS --tag ${DOCKER_IMAGE}:${VERSION}" fi