1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-05 10:55:17 +02:00

fix docker-image branch tag comparison

This commit is contained in:
François Darveau 2021-06-27 15:19:12 -04:00
parent c0d3ea2c4a
commit 122ace346d

View file

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