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