[Main]fix main CI no space problem

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
pull/5927/head
Lyndon-Li 2023-02-28 12:33:40 +08:00
parent da17641433
commit e671615e58
1 changed files with 3 additions and 0 deletions

View File

@ -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