Skip to content

Commit

Permalink
Merge pull request #6427 from Lyndon-Li/fix-main-CI-out-of-space-problem
Browse files Browse the repository at this point in the history
Fix main CI out of space problem
  • Loading branch information
qiuming-best authored Jun 27, 2023
2 parents ef1908f + b8c234a commit de83980
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ jobs:
- name: Publish container image
if: github.repository == 'vmware-tanzu/velero'
run: |
sudo swapoff -a
sudo rm -f /mnt/swapfile
docker image prune -a --force
# Build and push Velero image to docker registry
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}
VERSION=$(./hack/docker-push.sh | grep 'VERSION:' | awk -F: '{print $2}' | xargs)
Expand Down

0 comments on commit de83980

Please sign in to comment.