diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 982031c9d8d07f2fd487e1efbb3ac15e0ce5dcf5..f9dd36e36fc54bba40f0be3f7ade0b9171d5d959 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -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}}