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

@ -19,7 +19,20 @@ jobs:
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- 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
run: |
# Remove Java (JDKs)
@ -58,19 +71,6 @@ jobs:
docker system prune -af || true
docker builder prune -af || true
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
env:
VERSION: ${{ github.run_number }}