diff --git a/.github/workflows/pr-automated-tests.yaml b/.github/workflows/pr-automated-tests.yaml index dbe12882fb..5b6f2e4093 100644 --- a/.github/workflows/pr-automated-tests.yaml +++ b/.github/workflows/pr-automated-tests.yaml @@ -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