gearheads
/
mastodon
Archived
2
0
Fork 0

Tag images with the latest tag only when running against the latest stable branch (#25803)

gh/dev
Renaud Chaput 2023-07-07 19:31:55 +02:00 committed by GitHub
parent b6d173b459
commit d481e72e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -49,8 +49,10 @@ jobs:
images: |
tootsuite/mastodon
ghcr.io/mastodon/mastodon
# Only tag with latest when ran against the latest stable branch
# This needs to be updated after each minor version release
flavor: |
latest=auto
latest=${{ startsWith(github.ref, 'refs/tags/v4.1.') && 'auto' || 'false' }}
tags: |
type=edge,branch=main
type=pep440,pattern={{raw}}