Skip to content

Commit

Permalink
Set ecr registry type to public (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad authored Aug 22, 2023
1 parent 27ac1fe commit 6bb389b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::193543784330:role/oidc-github-ecr-localauth0
aws-region: eu-west-1

- name: Login to public ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: "true"
registry-type: public

- name: Build and push
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 6bb389b

Please sign in to comment.