From 3ba3c2f30bbe073f4b8906e8ebd7c1b535111cd8 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Thu, 21 Nov 2024 23:51:25 +0000 Subject: [PATCH] ci: tag merged image with branch name (#7393) In #7389, we started tagging the built images with the branch name in addition to other tags such as `latest` and the version number. That wasn't enough unfortunately because we also need to tag the merged manifest image that bundles the different architectures together as only that one actually gets pushed to the registry. --- .github/workflows/_build_artifacts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/_build_artifacts.yml b/.github/workflows/_build_artifacts.yml index 419beae3d..30d9ab5b0 100644 --- a/.github/workflows/_build_artifacts.yml +++ b/.github/workflows/_build_artifacts.yml @@ -391,6 +391,7 @@ jobs: 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 }} ${{ matrix.image.version && format('type=raw,value={0}', matrix.image.version) }} ${{ matrix.image.version && format('type=raw,value={0}-{1}', matrix.image.version, inputs.sha) }}