From 6106caf2fc6240afd38b1bd9fb2ec41d48ce5727 Mon Sep 17 00:00:00 2001 From: Jeff French Date: Sun, 31 Mar 2024 10:07:01 -0500 Subject: [PATCH] Use ecr login action --- .github/workflows/ecr-public.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ecr-public.yml b/.github/workflows/ecr-public.yml index eaf236d..9ed4286 100644 --- a/.github/workflows/ecr-public.yml +++ b/.github/workflows/ecr-public.yml @@ -64,10 +64,11 @@ aws-region: ${{ secrets.AWS_REGION }} role-to-assume: ${{ secrets.AWS_IAM_ROLE_ARN }} - - name: Login to Public ECR - uses: docker/login-action@v3 + - name: Login to Amazon ECR Public + id: login-ecr-public + uses: aws-actions/amazon-ecr-login@v2 with: - registry: ${{ env.CONTAINER_REGISTRY }} + registry-type: public - name: Extract metadata (tags, labels) for Docker id: meta @@ -153,10 +154,11 @@ aws-region: ${{ secrets.AWS_REGION }} role-to-assume: ${{ secrets.AWS_IAM_ROLE_ARN }} - - name: Login to Public ECR - uses: docker/login-action@v3 + - name: Login to Amazon ECR Public + id: login-ecr-public + uses: aws-actions/amazon-ecr-login@v2 with: - registry: ${{ env.CONTAINER_REGISTRY }} + registry-type: public - name: Extract metadata (tags, labels) for Docker id: meta