Skip to content

Commit

Permalink
fix(infra): use aws-actions/configure-aws-credentials@v1 to set stagi…
Browse files Browse the repository at this point in the history
…n vars (#116)
  • Loading branch information
Tim Schultz authored Feb 21, 2023
1 parent 40745b3 commit 523460d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@ jobs:
cache: "yarn"
cache-dependency-path: infra/staging/package-lock.json

################################################################################################################
# TODO: to be fixed: only doing the aws-actions/configure-aws-credentials and aws-actions/amazon-ecr-login
# because passing over the repository value from the build step did not work
################################################################################################################
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

# Update the pulumi stack with new image
- run: |
npm install
Expand Down

0 comments on commit 523460d

Please sign in to comment.