diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 759ff71..edf270b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}