Skip to content

Commit

Permalink
Set AWS login to use OIDC
Browse files Browse the repository at this point in the history
  • Loading branch information
froch committed May 28, 2024
1 parent 077299a commit fc7b27a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/aws-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
uses: actions/checkout@v3

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
role-to-assume: ${{ secrets.AWS_OIDC_ROLE }}

- name: Login to Amazon ECR
id: login-ecr
Expand Down

0 comments on commit fc7b27a

Please sign in to comment.