mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +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:
|
with:
|
||||||
images: |
|
images: |
|
||||||
unleashorg/unleash-server
|
unleashorg/unleash-server
|
||||||
flavor: latest=${{ github.event.inputs.is-latest-version }}
|
flavor: latest=${{ github.event.inputs.is-latest-version || 'auto' }}
|
||||||
tags: |
|
tags: |
|
||||||
# only enabled for workflow dispatch except main (assume its a release):
|
# 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 }}
|
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