From 5f022ac58e3f4dfd312036bf792c0a1fa85165ce Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Mon, 13 Apr 2026 19:53:48 -0500 Subject: [PATCH] Corrected metadata-action config for latest tag (#623) --- .github/workflows/{ci.yml => build.yml} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename .github/workflows/{ci.yml => build.yml} (89%) diff --git a/.github/workflows/ci.yml b/.github/workflows/build.yml similarity index 89% rename from .github/workflows/ci.yml rename to .github/workflows/build.yml index 0c302e6..ca488e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/build.yml @@ -58,13 +58,14 @@ jobs: ${{ github.repository_owner }}/${{ env.IMAGE_BASE_NAME }} ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_BASE_NAME }} tags: | - # pushes an tag matching the release/tag + # pushes a tag matching the release/tag type=pep440,pattern={{version}} # stable is a moving tag that points to the latest release type=pep440,pattern=stable + # and latest is a tag that always latest changes merged to default branch + type=raw,value=latest,enable=${{ github.ref_name == github.event.repository.default_branch }} flavor: | - latest=${{ github.event_name == 'push' && github.ref_name == 'master' }} - + latest=false - name: Build and push uses: docker/build-push-action@v4 with: