Skip to content

Commit 828ea9a

Browse files
authored
Merge pull request #506 from modelix/bugfix/docker-latest-tag
ci: avoid setting the Docker latest tag for workflow_dispatch runs
2 parents b9f14bd + b7957cd commit 828ea9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ jobs:
5454
modelix/modelix-model
5555
tags: |
5656
type=raw,value=${{ steps.version.outputs.VERSION }},enable=true
57-
type=raw,value=latest,event=tag
58-
type=ref,event=tag
57+
type=raw,value=latest,enable=${{ github.event_name == 'push' }}
5958
6059
# Perform the build in a separate call to avoid trying to publish
6160
# something where the build already failed partially. This could happen

0 commit comments

Comments
 (0)