Skip to content

Commit

Permalink
Use env vars instead of secret vars
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1r committed Feb 3, 2025
1 parent 503b6a8 commit 3efaa90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@
- "name": "Configure AWS credentials"
"uses": "aws-actions/configure-aws-credentials@v4"
"with":
"aws-access-key-id": "${{ secrets.ECR_ACCESS_KEY }}"
"aws-secret-access-key": "${{ secrets.ECR_SECRET_KEY }}"
"aws-access-key-id": "${{ env.ECR_ACCESS_KEY }}"
"aws-secret-access-key": "${{ env.ECR_SECRET_KEY }}"
"aws-region": "us-east-1"
- "name": "Login to Amazon ECR Public"
"uses": "aws-actions/amazon-ecr-login@v2"
Expand Down Expand Up @@ -551,8 +551,8 @@
- "name": "Configure AWS credentials"
"uses": "aws-actions/configure-aws-credentials@v4"
"with":
"aws-access-key-id": "${{ secrets.ECR_ACCESS_KEY }}"
"aws-secret-access-key": "${{ secrets.ECR_SECRET_KEY }}"
"aws-access-key-id": "${{ env.ECR_ACCESS_KEY }}"
"aws-secret-access-key": "${{ env.ECR_SECRET_KEY }}"
"aws-region": "us-east-1"
- "name": "Login to Amazon ECR Public"
"uses": "aws-actions/amazon-ecr-login@v2"
Expand Down

0 comments on commit 3efaa90

Please sign in to comment.