From e17e24b385213686de834d5726bf1c2b12dc9026 Mon Sep 17 00:00:00 2001 From: Tim <6887938+digitalmnt@users.noreply.github.com> Date: Wed, 11 Oct 2023 12:32:31 -0600 Subject: [PATCH] fix(ci): fux build configuration for indexer and lambda (#423) --- .github/workflows/api-promote-prod.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/api-promote-prod.yml b/.github/workflows/api-promote-prod.yml index b9d3c034e..9412e517e 100644 --- a/.github/workflows/api-promote-prod.yml +++ b/.github/workflows/api-promote-prod.yml @@ -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 @@ -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: | @@ -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 @@ -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