From 9ac2069b2507d65876f9a35c975d98d5b318ccf8 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Wed, 2 Oct 2024 20:08:32 -0700 Subject: [PATCH] remove docker prune step --- cloudbuild.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 207eadad1..22a4b7ad1 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -7,16 +7,6 @@ steps: - name: 'gcr.io/cloud-builders/docker' args: ['push', 'us-central1-docker.pkg.dev/$PROJECT_ID/openfrontio/game-server:$TAG_NAME'] - # Prune Docker system on the instance - - name: 'gcr.io/cloud-builders/gcloud' - entrypoint: 'bash' - args: - - '-c' - - | - gcloud compute ssh ${_INSTANCE_NAME} --zone us-central1-a --command 'docker system prune -f -a' - gcloud compute ssh ${_INSTANCE_NAME} --zone us-central1-a --command 'docker kill $(docker ps -q)' - gcloud compute ssh ${_INSTANCE_NAME} --zone us-central1-a --command 'docker rmi $(docker images -q) -f' - # Update the GCE instance with the new container image - name: 'gcr.io/cloud-builders/gcloud' args: