mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 19:08:40 -05:00
ci: mirror GCP SEV-SNP marketplace images (#3274)
This commit is contained in:
parent
60bdec5fb1
commit
2e9dda52b7
3
.github/workflows/on-release.yml
vendored
3
.github/workflows/on-release.yml
vendored
@ -159,9 +159,8 @@ jobs:
|
|||||||
id: fetch-reference
|
id: fetch-reference
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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 .
|
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)
|
IMAGE_NAME=$(echo "${FULL_REF}" | cut -d / -f 5)
|
||||||
echo "reference=$IMAGE_NAME" | tee -a "$GITHUB_OUTPUT"
|
echo "reference=$IMAGE_NAME" | tee -a "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user