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:
parent
c0d3ea2c4a
commit
122ace346d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue