1
0
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

![image](https://github.com/user-attachments/assets/14477e20-1185-4aab-8a25-b88fdb0ae181)
This commit is contained in:
Gastón Fournier 2024-08-22 12:45:18 +02:00 committed by GitHub
parent 00700918c8
commit 1367996305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}