mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
fix: when running on main we need to use latest=auto (#7969)
This fixes this error: https://github.com/Unleash/unleash/actions/runs/10505976248/job/29104652388 
This commit is contained in:
parent
00700918c8
commit
1367996305
2
.github/workflows/docker_publish.yaml
vendored
2
.github/workflows/docker_publish.yaml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user