Skip to content

Commit

Permalink
login to ECR public before docker-build step (#2217)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdn5126 authored Jan 17, 2023
1 parent daf5ccd commit ebbdcad
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr-automated-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ jobs:
steps:
- name: Checkout latest commit in the PR
uses: actions/checkout@v3
- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.OSS_TEST_ROLE_ARN }}
role-duration-seconds: 14400 # 4 hours
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Login to Amazon ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v1
with:
registry-type: public
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down

0 comments on commit ebbdcad

Please sign in to comment.