Skip to content

Commit

Permalink
Fix for login to public ecr repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dlakhaws committed Dec 5, 2023
1 parent 12b0751 commit 87a5832
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,18 @@ jobs:
with:
role-to-assume: ${{ secrets.PROD_IAM_IMAGE_ROLE }}
aws-region: ${{ env.AWS_DEST_REGION }}
- name: Configure AWS Credentials from Prod account (for public repo)
uses: aws-actions/configure-aws-credentials@master
with:
role-to-assume: ${{ secrets.PROD_IAM_IMAGE_ROLE }}
aws-region: us-east-1
- name: Login to Amazon ECR prod
id: login-ecr-prod
uses: aws-actions/amazon-ecr-login@v2
- name: Login to Amazon ECR Public
id: login-ecr-public
uses: aws-actions/amazon-ecr-login@v2
with:
aws-region: us-east-1
registry-type: public
- name: Promote image
env:
Expand Down

0 comments on commit 87a5832

Please sign in to comment.