From 91b4f65235ec2ef7e09db17acdeadb7eaf5e652f Mon Sep 17 00:00:00 2001 From: Gavin Inglis <43075615+ginglis13@users.noreply.github.com> Date: Thu, 27 Jul 2023 15:06:15 -0700 Subject: [PATCH] fix: add ecr authentication (#129) Issue #, if available: *Description of changes:* use aws-actions/amazon-ecr-login@v1 to configure credentials / get authorization token to Amazon ECR. *Testing done:* act, local repo. - [x] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Gavin Inglis --- .github/workflows/rootfs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rootfs.yaml b/.github/workflows/rootfs.yaml index 75b5c4d..eb3cef6 100644 --- a/.github/workflows/rootfs.yaml +++ b/.github/workflows/rootfs.yaml @@ -27,6 +27,8 @@ jobs: aws-region: ${{ secrets.REGION }} role-to-assume: ${{ secrets.ROLE }} role-session-name: rootfs-ecr-image-upload-session + - name: Login to Amazon ECR + uses: aws-actions/amazon-ecr-login@v1 - name: checkout repo uses: actions/checkout@v3 with: