Skip to content

Commit

Permalink
Use var instead of secret for IAM role
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Sep 9, 2024
1 parent e802f52 commit 442c87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.ECR_AWS_ROLE }}
role-to-assume: ${{ vars.ECR_AWS_ROLE }}
aws-region: ${{ env.AWS_REGION }}
role-session-name: ${{ env.IAM_ROLE_SESSION_NAME }}

Expand Down

0 comments on commit 442c87b

Please sign in to comment.