From f89662955b380e2c216a798598701b7aac3ab815 Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Fri, 4 Aug 2023 19:43:57 -0700 Subject: [PATCH] update terraform to provision endpoints --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4de774b..28e413b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -179,12 +179,12 @@ jobs: type=raw,value=${{ env.THE_ENV }} - name: Build and push Docker image - #if: | - # github.ref == 'refs/heads/develop' || - # github.ref == 'refs/heads/main' || - # startsWith(github.ref, 'refs/heads/release') || - # github.event.head_commit.message == '/deploy sit' || - # github.event.head_commit.message == '/deploy uat' + if: | + github.ref == 'refs/heads/develop' || + github.ref == 'refs/heads/main' || + startsWith(github.ref, 'refs/heads/release') || + github.event.head_commit.message == '/deploy sit' || + github.event.head_commit.message == '/deploy uat' uses: docker/build-push-action@v3 with: context: . @@ -229,7 +229,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_SERVICES_{0}', env.TARGET_ENV_UPPERCASE)] }} AWS_DEFAULT_REGION: us-west-2 - TF_VAR_hydrocronapi_api_docker_image: "ghcr.io/podaac/hydrocronapi-api:${{ env.DOCKER_METADATA_OUTPUT_VERSION }}" + TF_VAR_hydrocronapi_api_docker_image: "ghcr.io/podaac/hydrocron-api:${{ env.DOCKER_METADATA_OUTPUT_VERSION }}" run: | sh bin/deploy.sh -v ${tf_venue}