Skip to content

Commit c4fb3a5

Browse files
committed
GCP image pipeline final tweaks and additions
1 parent 1bb953e commit c4fb3a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/actions/shared-steps/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,11 +449,16 @@ runs:
449449
if: env.IMAGE_TYPE == 'gcp'
450450
uses: 'google-github-actions/[email protected]'
451451

452-
- name: 'Upload output to GCP storage bucket'
452+
- name: Upload output to GCP storage bucket
453453
if: env.IMAGE_TYPE == 'gcp'
454454
shell: bash
455455
run: gcloud storage cp ${{ env.IMAGE_FILE }} gs://almalinux-images-dev/almalinux-${version_major}${{ inputs.arch == 'aarch64' && '-arm64' || '' }}-v$(date +'%Y%m%d')/root.tar.gz
456456

457+
- name: Upload SBOM data to GCP storage bucket
458+
if: env.IMAGE_TYPE == 'gcp'
459+
shell: bash
460+
run: gcloud storage cp ${{ env.IMAGE_FILE }}.sbom.spdx.json gs://almalinux-images-dev-sbom/${{ env.IMAGE_FILE }}.sbom.spdx.json
461+
457462
- name: Clone gce_image_publish repo
458463
if: env.IMAGE_TYPE == 'gcp'
459464
uses: actions/checkout@v5

0 commit comments

Comments
 (0)