Skip to content

Commit 78504f0

Browse files
authored
Merge pull request #131 from antgoncj/fix/add-ecr-public-login
Added authentication step for Amazon ECR Public to enable image pushing to public repository.
2 parents 3ca516d + 189adf1 commit 78504f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish_docker_image.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434
id: login-ecr
3535
uses: aws-actions/amazon-ecr-login@v2
3636

37+
- name: Login to Amazon ECR Public
38+
id: login-ecr-public
39+
uses: aws-actions/amazon-ecr-login@v2
40+
with:
41+
registry-type: public
42+
3743
- name: Tag Images and Push to ECR
3844
id: tag_and_push
3945
run: |

0 commit comments

Comments
 (0)