From c66416e0c6308e81a56e3bd84ccb4809ea4bfb99 Mon Sep 17 00:00:00 2001 From: Serhii Volovyk Date: Thu, 16 Nov 2023 10:43:09 +0200 Subject: [PATCH] Do not build Dcoker image in deployment script (#364) Co-authored-by: Daniyar Itegulov --- .github/workflows/terraform-dev.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/terraform-dev.yml b/.github/workflows/terraform-dev.yml index d640ac46f..c8658f206 100644 --- a/.github/workflows/terraform-dev.yml +++ b/.github/workflows/terraform-dev.yml @@ -54,11 +54,6 @@ jobs: env: GOOGLE_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS_DEV }} - # Build Docker image. - - name: Docker Image - id: build - run: docker build ../.. -t near/mpc-recovery - # Generates an execution plan for Terraform - name: Terraform Plan id: plan @@ -138,7 +133,7 @@ jobs: # On push to "develop", build or change infrastructure according to Terraform configuration files - name: Terraform Apply - if: github.ref == 'refs/heads/develop' && github.event_name == 'push' + if: github.ref == 'refs/heads/develop' run: | terraform apply -auto-approve -input=false -lock-timeout=1h -var-file terraform-dev.tfvars \ -var "credentials=$GOOGLE_CREDENTIALS" \