From 9950e59578f59f7e0d2edbb7e4eb26273087c2c4 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 21 Sep 2023 18:14:24 +0200 Subject: [PATCH] Disable setting the `latest` tag for 4.1 docker builds (#27023) --- .github/workflows/build-releases.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build-releases.yml b/.github/workflows/build-releases.yml index 98b9dfc0d..c19766b18 100644 --- a/.github/workflows/build-releases.yml +++ b/.github/workflows/build-releases.yml @@ -19,10 +19,8 @@ jobs: ghcr.io/mastodon/mastodon # Do not use cache when building releases, so apt update is always ran and the release always contain the latest packages cache: false - # Only tag with latest when ran against the latest stable branch - # This needs to be updated after each minor version release flavor: | - latest=${{ startsWith(github.ref, 'refs/tags/v4.1.') }} + latest=false tags: | type=pep440,pattern={{raw}} type=pep440,pattern=v{{major}}.{{minor}}