From 122ace346d0a6911d48a1a08b6b3eb5964fdba37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Darveau?= Date: Sun, 27 Jun 2021 15:19:12 -0400 Subject: [PATCH] fix docker-image branch tag comparison --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 050eb11..ba3938a 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -20,7 +20,7 @@ jobs: run: | DOCKER_IMAGE=ghcr.io/${{ github.repository }} VERSION=latest - if [[ '${{ github.head_ref }}' != 'master' ]]; then + if [[ '${{ github.head_ref }}' != '' ]]; then VERSION=${{github.head_ref}} fi TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${{ steps.date.outputs.date }}"