Skip to content

Commit

Permalink
Do not build Dcoker image in deployment script (#364)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniyar Itegulov <[email protected]>
  • Loading branch information
volovyks and itegulov authored Nov 16, 2023
1 parent 211a1c0 commit c66416e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/terraform-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" \
Expand Down

0 comments on commit c66416e

Please sign in to comment.