From 119d3741eb3067717aa4737845f511f1ddfacabe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaal?= Date: Thu, 21 Sep 2023 11:17:48 -0400 Subject: [PATCH] test ECR login --- .github/workflows/docker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5248bdc3..27c7361b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,3 +20,14 @@ jobs: regex: 'APP_VERSION = \"(.*?)\"' - name: Echo version run: echo "${{ steps.parse-version.outputs.group1 }}" + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: ca-central-1 + - name: Login to Amazon ECR + id: login-ecr + uses: aws-actions/amazon-ecr-login@v1 + with: + mask-password: 'true'