Skip to content

Commit 73828c5

Browse files
committed
Add a docker/login-action for logging into ECR
1 parent e1d942b commit 73828c5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ jobs:
6464
role-to-assume: arn:aws:iam::067435167850:role/GitHubAction-AssumeRoleWithAction
6565
aws-region: ${{ env.AWS_REGION }}
6666

67-
- name: 🌐 Login to Amazon ECR
67+
- name: 🌐 Get ECR Login
6868
id: ecr-login
6969
uses: aws-actions/amazon-ecr-login@v1
7070

71-
- name: 🌐 Print ECR Output
72-
run: echo ${{ steps.ecr-login.outputs.registry }}
71+
- name: 🐳 Login to ECR
72+
uses: docker/login-action@v1
73+
with:
74+
registry: ${{ steps.ecr-login.outputs.registry }
7375

7476
- name: 🐳 Set up QEMU
7577
uses: docker/setup-qemu-action@v2

0 commit comments

Comments
 (0)