diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9afefd2..310f97c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ jobs: ref: ${{github.event.push.ref}} - name: Build the Docker images run: |- - docker build . --file Dockerfile-frontend --build-arg API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }} --tag ${{ secrets.ECR_REPO_URL }}/uct-frontend:${{ github.ref_name }} + docker build . --file Dockerfile-frontend --build-arg DEV_REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.DEV_REACT_APP_GOOGLE_MAPS_API_KEY }} --build-arg PROD_REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.PROD_REACT_APP_GOOGLE_MAPS_API_KEY }} --tag ${{ secrets.ECR_REPO_URL }}/uct-frontend:${{ github.ref_name }} docker build . --file Dockerfile-backend --tag ${{ secrets.ECR_REPO_URL }}/uct-backend:${{ github.ref_name }} - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/iac/bin/iac.ts b/iac/bin/iac.ts index 81115c9..5838981 100644 --- a/iac/bin/iac.ts +++ b/iac/bin/iac.ts @@ -41,8 +41,8 @@ new AppStack(app, 'DevStack', listener, zones, database, - "v0.0.6", - "v0.0.6", + "v0.0.7", + "v0.0.7", "dev", { env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: "us-east-1" },