Skip to content

Commit

Permalink
testing only: run verify upload on branch once.
Browse files Browse the repository at this point in the history
revert this before merging.
  • Loading branch information
derpsteb committed Nov 20, 2023
1 parent c22c3fd commit 6970baa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/e2e_verify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6970baa

Please sign in to comment.