CI: re-export the IMAGE_URI variable before cosign save

This commit is contained in:
Alexis Métaireau 2025-04-28 14:16:00 +02:00
parent 4b76250615
commit 1dd9fc9711
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -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