chore(release): fix condition for latest tag (#823)

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
This commit is contained in:
Ronny Moreas 2023-04-22 10:55:04 +02:00 committed by GitHub
parent b5cc1685ec
commit 58a1f2d079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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=ref,event=pr
type=semver,pattern={{raw}}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1