chore(ci): do not add latest tag on release candidate
Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
This commit is contained in:
parent
7624697b68
commit
e5860064c3
|
|
@ -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=${{ 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
|
||||
uses: docker/login-action@v3
|
||||
|
|
|
|||
Loading…
Reference in New Issue