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 }}"