From a0723c3c5adc83ced0eb1d1d9f35eaded8052fc8 Mon Sep 17 00:00:00 2001 From: Ziedelth Date: Mon, 26 Aug 2024 17:08:42 +0200 Subject: [PATCH] ci: fix release_workflow.yml --- .github/workflows/release_workflow.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_workflow.yml b/.github/workflows/release_workflow.yml index f57f40a9..b9ee87ac 100644 --- a/.github/workflows/release_workflow.yml +++ b/.github/workflows/release_workflow.yml @@ -112,6 +112,8 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} + tags: | + type=raw,value=${{ needs.upgrade-version.outputs.v-version }}-${{ matrix.build_version }} - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -136,8 +138,7 @@ jobs: file: Dockerfile build-args: BUILD_VERSION=${{ matrix.build_version }} platforms: ${{ matrix.platform }} - labels: ${{ steps.meta.outputs.labels }} - tags: ${{ env.REGISTRY_IMAGE }}:${{ matrix.build_version }},${{ env.REGISTRY_IMAGE }}:${{ needs.upgrade-version.outputs.v-version }} + tags: ${{ steps.meta.outputs.tags }} cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:${{ matrix.build_version }} cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:${{ matrix.build_version }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true