From 2e9dda52b7ab7b2b8431579701cf5e27d316a5e2 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:43:16 +0200 Subject: [PATCH] ci: mirror GCP SEV-SNP marketplace images (#3274) --- .github/workflows/on-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 5004da580a..abbf75f4b7 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -159,9 +159,8 @@ jobs: id: fetch-reference shell: bash run: | - # TODO(msanft): Implement marketplace images for GCP SEV-SNP aws s3 cp s3://cdn-constellation-backend/constellation/v2/ref/-/stream/stable/${{ steps.fetch-version.outputs.output }}/image/info.json . - FULL_REF=$(yq e -r -oy '.list.[] | select(.attestationVariant == "gcp-sev-es") | .reference' info.json) + FULL_REF=$(yq e -r -oy '.list.[] | select(.attestationVariant == "gcp-sev-snp") | .reference' info.json) IMAGE_NAME=$(echo "${FULL_REF}" | cut -d / -f 5) echo "reference=$IMAGE_NAME" | tee -a "$GITHUB_OUTPUT"