From 76308f460f7a9491acfe5ab0e934531c4bc97811 Mon Sep 17 00:00:00 2001 From: Sebas Risco Date: Tue, 27 Oct 2020 11:38:28 +0100 Subject: [PATCH] Fix build in github actions --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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