Skip to content

Commit 4621196

Browse files
committed
Revert "Try publishing to ECR using good ole fashioned aws credentials"
This reverts commit 988e753.
1 parent 988e753 commit 4621196

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ jobs:
8181
- name: 🌐 Configure AWS credentials
8282
uses: aws-actions/configure-aws-credentials@v2
8383
with:
84-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
85-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
86-
aws-region: us-east-1
84+
role-to-assume: arn:aws:iam::067435167850:role/GitHubAction-AssumeRoleWithAction
85+
aws-region: ${{ env.AWS_REGION }}
8786

8887
- name: 🌐 Login to ECR
8988
id: ecr-login

0 commit comments

Comments
 (0)