From 6970baa449ec3b37a18a3dacde99196b3e0502da Mon Sep 17 00:00:00 2001 From: Otto Bittner Date: Mon, 20 Nov 2023 11:43:54 +0100 Subject: [PATCH] testing only: run verify upload on branch once. revert this before merging. --- .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 7f77c8097d..c5fa53fcf4 100644 --- a/.github/actions/e2e_verify/action.yml +++ b/.github/actions/e2e_verify/action.yml @@ -77,14 +77,14 @@ runs: done - name: Login to AWS - if: github.ref_name == 'main' && inputs.cloudProvider == 'azure' + if: github.ref_name == 'feat/attestation/aws-snp' && (inputs.cloudProvider == 'azure' || inputs.cloudProvider == 'aws') uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1 with: role-to-assume: arn:aws:iam::795746500882:role/GitHubConstellationImagePipeline aws-region: eu-central-1 - name: Upload extracted TCBs - if: github.ref_name == 'main' && (inputs.cloudProvider == 'azure' || inputs.cloudProvider == 'aws') + if: github.ref_name == 'feat/attestation/aws-snp' && (inputs.cloudProvider == 'azure' || inputs.cloudProvider == 'aws') shell: bash env: COSIGN_PASSWORD: ${{ inputs.cosignPassword }}