Skip to content

Commit

Permalink
fix(ci): fux build configuration for indexer and lambda (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz authored Oct 11, 2023
1 parent 34dfa9a commit e17e24b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/api-promote-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_STAGING }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_STAGING }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION_STAGING }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Login to Amazon ECR Public
id: login-ecr
Expand All @@ -143,7 +143,7 @@ jobs:
- name: Build, tag, and push image to Amazon ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REGISTRY_ALIAS: t1g3k9q8
ECR_REGISTRY_ALIAS: c8n6v8e9
ECR_REPOSITORY: passport-indexer
IMAGE_TAG: ${{ steps.vars.outputs.sha_short }}
run: |
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
dockerTag: ${{ steps.vars.outputs.sha_short }}

build-submit-passport-lambda:
environment: Staging
environment: Production
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -216,8 +216,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_STAGING }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_STAGING }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- name: Login to Amazon ECR Private
Expand Down

0 comments on commit e17e24b

Please sign in to comment.