Skip to content

Commit

Permalink
fix: when running on main we need to use latest=auto (#7969)
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonfournier authored Aug 22, 2024
1 parent 0070091 commit 1367996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
images: |
unleashorg/unleash-server
flavor: latest=${{ github.event.inputs.is-latest-version }}
flavor: latest=${{ github.event.inputs.is-latest-version || 'auto' }}
tags: |
# only enabled for workflow dispatch except main (assume its a release):
type=semver,pattern={{ version }},enable=${{ github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/main' }},value=${{ inputs.version }}
Expand Down

0 comments on commit 1367996

Please sign in to comment.