Skip to content

Commit

Permalink
Merge pull request #20 from iFixit/update-amazon-ecr-login-action
Browse files Browse the repository at this point in the history
Actions: Update `aws-actions/amazon-ecr-login` from v1 to v2
  • Loading branch information
batbattur authored Dec 14, 2023
2 parents 982537b + b50f906 commit 0adf8d0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ jobs:
uses: actions/checkout@v3

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.DEPLOY_IAM_ROLE }}
aws-region: us-east-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: true
uses: aws-actions/amazon-ecr-login@v2

- name: Build, Tag, and Push Image to Amazon ECR
env:
Expand Down

0 comments on commit 0adf8d0

Please sign in to comment.