Skip to content

Commit

Permalink
fix: add ecr authentication (#129)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ginglis13 authored Jul 27, 2023
1 parent 865cbfe commit 91b4f65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 91b4f65

Please sign in to comment.