chore(ci): do not add latest tag on release candidate

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
This commit is contained in:
Ronny Moreas 2025-04-16 12:07:41 +00:00
parent 7624697b68
commit e5860064c3
No known key found for this signature in database
GPG Key ID: B14F2A2703E0788B
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ jobs:
type=raw,value=canary,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} type=raw,value=canary,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=ref,event=pr type=ref,event=pr
type=semver,pattern={{raw}} type=semver,pattern={{raw}}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '.') && !contains(github.ref, '-') }}
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3