Skip to content

Commit

Permalink
Update configure AWS credentials (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-dunn-sublime authored Jun 28, 2023
1 parent ba8fc81 commit 694102c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
continue-on-error: true
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
role-duration-seconds: 7200 # 2 hours
aws-region: us-east-1

- name: 2nd Attempt Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
if: ${{ env.AWS_ACCESS_KEY_ID == '' }}
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
Expand Down Expand Up @@ -135,15 +135,15 @@ jobs:

steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
continue-on-error: true
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
role-duration-seconds: 7200 # 2 hours
aws-region: us-east-1

- name: 2nd Attempt Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
if: ${{ env.AWS_ACCESS_KEY_ID == '' }}
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
Expand Down Expand Up @@ -229,15 +229,15 @@ jobs:
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
continue-on-error: true
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
role-duration-seconds: 7200 # 2 hours
aws-region: us-east-1

- name: 2nd Attempt Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
if: ${{ env.AWS_ACCESS_KEY_ID == '' }}
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
uses: actions/checkout@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
continue-on-error: true
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
role-duration-seconds: 7200 # 2 hours
aws-region: us-east-1

- name: 2nd Attempt Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.6.0
uses: aws-actions/configure-aws-credentials@v2.2.0
if: ${{ env.AWS_ACCESS_KEY_ID == '' }}
with:
role-to-assume: ${{ secrets.ECR_REPO_ROLE }}
Expand Down

0 comments on commit 694102c

Please sign in to comment.