added back in the login to ecr

This commit is contained in:
Khalim Conn-Kowlessar 2023-09-01 16:01:13 +01:00
parent 28942a9cd6
commit d0687987bb

View file

@ -50,6 +50,10 @@ jobs:
- name: Setup Docker
uses: docker/setup-buildx-action@v1
- name: Login to ECR
run: |
aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin ${{ steps.set_ecr_credentials.outputs.ecr_uri }}
# Building and pushing Docker image with caching
- name: Build and push Docker image
uses: docker/build-push-action@v4