From e671615e5848a0dde6de04f954f37c1b0307574c Mon Sep 17 00:00:00 2001 From: Lyndon-Li Date: Tue, 28 Feb 2023 12:33:40 +0800 Subject: [PATCH] [Main]fix main CI no space problem Signed-off-by: Lyndon-Li --- .github/workflows/push.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 02c9342488..8f289fb033 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -99,4 +99,7 @@ jobs: - name: Publish container image to GCR if: github.repository == 'vmware-tanzu/velero' run: | + sudo swapoff -a + sudo rm -f /mnt/swapfile + docker image prune -a --force REGISTRY=gcr.io/velero-gcp ./hack/docker-push.sh