From 3054ecbb513c17e3fafe98b128cbfda07d4be066 Mon Sep 17 00:00:00 2001 From: Otto Bittner Date: Tue, 14 Nov 2023 13:25:52 +0100 Subject: [PATCH] ci: call TCB upload step for AWS --- .github/actions/e2e_verify/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/e2e_verify/action.yml b/.github/actions/e2e_verify/action.yml index 76ea37c990a..9113e507e19 100644 --- a/.github/actions/e2e_verify/action.yml +++ b/.github/actions/e2e_verify/action.yml @@ -84,7 +84,7 @@ runs: aws-region: eu-central-1 - name: Upload extracted TCBs - if: github.ref_name == 'main' && inputs.cloudProvider == 'azure' + if: github.ref_name == 'main' && (inputs.cloudProvider == 'azure' || inputs.cloudProvider == 'aws') shell: bash env: COSIGN_PASSWORD: ${{ inputs.cosignPassword }} @@ -98,5 +98,5 @@ runs: for file in $(ls snp-report-*.json); do path=$(realpath "${file}") cat "${path}" - bazel run //internal/api/attestationconfigapi/cli -- upload azure snp-report "${path}" + bazel run //internal/api/attestationconfigapi/cli -- upload ${{ inputs.cloudProvider }} snp-report "${path}" done