free up disk space

This commit is contained in:
Bernhard B 2025-11-24 20:29:33 +01:00
parent 6325cb2fe4
commit cbfc6b9e94

View File

@ -20,6 +20,19 @@ jobs:
run: echo ${{ steps.buildx.outputs.platforms }} run: echo ${{ steps.buildx.outputs.platforms }}
- name: Install Podman - name: Install Podman
run: sudo apt update && sudo apt install -y podman run: sudo apt update && sudo apt install -y podman
build:
runs-on: ubuntu-24.04
needs: setup
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Free up disk space - name: Free up disk space
run: | run: |
# Remove Java (JDKs) # Remove Java (JDKs)
@ -58,19 +71,6 @@ jobs:
docker system prune -af || true docker system prune -af || true
docker builder prune -af || true docker builder prune -af || true
df -h df -h
build:
runs-on: ubuntu-24.04
needs: setup
steps:
- uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build - name: Build
env: env:
VERSION: ${{ github.run_number }} VERSION: ${{ github.run_number }}