Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
fix: free disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Mar 19, 2021
1 parent d8154c8 commit 3617b4b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/jenkins-x-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ jobs:
tags: |
ghcr.io/jenkins-x/terraform-operator-gcp:latest
ghcr.io/jenkins-x/terraform-operator-gcp:${{ steps.prep.outputs.version }}
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Build and push jx-cli
uses: docker/build-push-action@v2
with:
Expand All @@ -99,6 +106,13 @@ jobs:
tags: |
ghcr.io/jenkins-x/jx-cli:latest
ghcr.io/jenkins-x/jx-cli:${{ steps.prep.outputs.version }}
- name: free disk space2
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Build and push jx-go
uses: docker/build-push-action@v2
with:
Expand All @@ -111,6 +125,13 @@ jobs:
tags: |
ghcr.io/jenkins-x/jx-go:latest
ghcr.io/jenkins-x/jx-go:${{ steps.prep.outputs.version }}
- name: free disk space3
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Build and push jx-go-maven
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 3617b4b

Please sign in to comment.