mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 20:20:34 +09:00
fix: only add tag latest on git version tag
This commit is contained in:
parent
d7c67273ca
commit
fc24ab44fc
5
.github/workflows/publish-image.yml
vendored
5
.github/workflows/publish-image.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
||||
type=semver,pattern={{major}}.{{minor}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
type=semver,pattern={{major}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
flavor: |
|
||||
latest=auto
|
||||
latest=false
|
||||
suffix=-${{ matrix.arch }}
|
||||
labels: |
|
||||
org.opencontainers.image.source=${{ env.SOURCE_URL }}
|
||||
@@ -151,8 +151,9 @@ jobs:
|
||||
type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
type=semver,pattern={{major}}.{{minor}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
type=semver,pattern={{major}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||
flavor: |
|
||||
latest=auto
|
||||
latest=false
|
||||
labels: |
|
||||
org.opencontainers.image.source=${{ env.SOURCE_URL }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user