From 89f9a915c19c31e30b78949f43fef9a25f6d1872 Mon Sep 17 00:00:00 2001 From: Jamil Date: Wed, 30 Jul 2025 13:05:00 -0400 Subject: [PATCH] fix(ci): only tag latest on release (#10053) This fixes an issue introduced when we moved to GHCR hosting where the `latest` tag was being applied to each `main` build of the `client` and `gateway` instead of publish builds only. --- .github/workflows/_build_artifacts.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/_build_artifacts.yml b/.github/workflows/_build_artifacts.yml index 5b436d2e5..0d6ea17ae 100644 --- a/.github/workflows/_build_artifacts.yml +++ b/.github/workflows/_build_artifacts.yml @@ -333,7 +333,6 @@ jobs: images: ${{ steps.login.outputs.registry }}/firezone/${{ matrix.image_prefix && format('{0}/', matrix.image_prefix) || '' }}${{ matrix.name.image_name }} # We only version client and gateway tags: | - type=raw,value=latest type=raw,value={{branch}} type=raw,value=${{ inputs.sha }} - name: Sanitize github.ref_name @@ -424,7 +423,6 @@ jobs: with: images: ${{ steps.login.outputs.registry }}/firezone/${{ matrix.image_prefix && format('{0}/', matrix.image_prefix) || '' }}${{ matrix.image.name }} tags: | - type=raw,value=latest type=raw,value={{branch}} type=raw,value=${{ inputs.sha }} - name: Create manifest list and push