Skip to content

Commit 010b44c

Browse files
authored
Update publishImage.yml
1 parent 436e136 commit 010b44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publishImage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
${{ vars.GHCR_IMAGE_NAME }}
5151
# generate Docker tags based on the following events/attributes
5252
tags: |
53-
type=raw,value=latest,enable=${{ {{tag}} != '' }}
53+
type=raw,value=latest,enable=${{ github.ref_type == 'tag' }}
5454
type=ref,event=branch,enable=${{ !endsWith(github.ref, 'main') }}
5555
type=semver,pattern={{version}}
5656
# type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}

0 commit comments

Comments
 (0)