1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

feat: enable docker version tag on main (#8979)

Since we're releasing from main now...
This commit is contained in:
Gastón Fournier 2024-12-13 14:24:22 +01:00 committed by GitHub
parent a257ca4474
commit 59828cf5ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,9 +47,9 @@ jobs:
flavor: latest=${{ github.event.inputs.is-latest-version || 'auto' }} 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' && inputs.version != '' }},value=${{ inputs.version }}
type=semver,pattern={{ major }}.{{ minor }},enable=${{ github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/main' }},value=${{ inputs.version }} type=semver,pattern={{ major }}.{{ minor }},enable=${{ github.event_name == 'workflow_dispatch' && inputs.version != '' }},value=${{ inputs.version }}
type=semver,pattern={{ major }},enable=${{ github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/main' }},value=${{ inputs.version }} type=semver,pattern={{ major }},enable=${{ github.event_name == 'workflow_dispatch' && inputs.version != '' }},value=${{ inputs.version }}
# only enabled in main: # only enabled in main:
type=edge,prefix=main-,suffix=-${{ matrix.version }},enable=${{ github.ref == 'refs/heads/main' }} type=edge,prefix=main-,suffix=-${{ matrix.version }},enable=${{ github.ref == 'refs/heads/main' }}
# only enabled on workflow_dispatch: # only enabled on workflow_dispatch: