mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 23:41:52 +00:00
Tag images with the latest tag only when running against the latest stable branch (#25803)
This commit is contained in:
parent
b6d173b459
commit
d481e72e85
4
.github/workflows/build-image.yml
vendored
4
.github/workflows/build-image.yml
vendored
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user