Skip to content

Commit

Permalink
Use docker login (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoh committed Jan 30, 2023
1 parent 861d1d8 commit 01f6c0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ jobs:
with:
path: smithy-rs
fetch-depth: 0
- name: Acquire credentials (optional)
continue-on-error: true
uses: aws-actions/configure-aws-credentials@v1-node16
with:
role-to-assume: ${{ secrets.SMITHY_RS_PUBLIC_ECR_PUSH_ROLE_ARN }}
role-session-name: GitHubActions
aws-region: us-west-2
- name: Login to ECR
continue-on-error: true
run: |
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
- name: Acquire base image
id: acquire
env:
Expand Down

0 comments on commit 01f6c0e

Please sign in to comment.