From 1dd9fc9711946674357feeb0e67c6efedd3913a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 28 Apr 2025 14:16:00 +0200 Subject: [PATCH] CI: re-export the IMAGE_URI variable before cosign save --- .github/workflows/build-push-image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-push-image.yml b/.github/workflows/build-push-image.yml index 43200a1..622243f 100644 --- a/.github/workflows/build-push-image.yml +++ b/.github/workflows/build-push-image.yml @@ -316,6 +316,7 @@ jobs: - name: Get the container image from the registry # It contains the image and the signatures run: |- + export IMAGE_URI="${{ inputs.registry }}/${{ inputs.image_name }}:${{ needs.merge.outputs.tag }}@${{ needs.merge.outputs.digest_root }}" cosign save $IMAGE_URI --dir tmp cd tmp tar -cvf ../share/container.tar