Skip to content

Commit 78075b3

Browse files
committed
assume role fix
1 parent 15ce336 commit 78075b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/generate-augmented-sbom.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,17 @@ jobs:
4646
LC_ALL=C sort > purls.txt
4747
cat purls.txt
4848
- name: Configure AWS credentials
49-
uses: aws-actions/configure-aws-credentials@v3
49+
uses: aws-actions/configure-aws-credentials@v4
5050
with:
5151
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
5252
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
53+
role-to-assume: ${{ secrets.KONDUKTO_ROLE_ARN }}
5354
aws-region: us-east-1
5455

5556
- name: Login to AWS ECR
57+
env:
58+
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
59+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5660
run: |
5761
aws ecr get-login-password --region us-east-1 | \
5862
docker login --username AWS --password-stdin 901841024863.dkr.ecr.us-east-1.amazonaws.com

0 commit comments

Comments
 (0)