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 16:55:04 +08:00
committed by GitHub
parent b5cc1685ec
commit 58a1f2d079
+1 -1
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