diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index a9157abb1..18963f1a7 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -180,20 +180,16 @@ jobs: with: args: | ${{ env.BUILD_ARGS }} \ + --no-cache \ --${{ matrix.arch }} \ --target "/data/${{ matrix.addon }}" \ --image "${{ steps.check.outputs.image }}" \ --docker-hub "ghcr.io/${{ github.repository_owner }}" \ --addon - - name: Cleanup and wait 3 minutes before retry + - name: Wait 3 minutes before retry if: steps.check.outputs.build_arch == 'true' && steps.dockerfile_check.outputs.has_dockerfile == 'true' && steps.builderstep1.outcome == 'failure' run: | - df -h - sudo docker system df || true - sudo docker builder prune -af || true - sudo docker system prune -af --volumes || true - df -h sleep 180 - name: Build ${{ matrix.addon }} add-on (attempt 2) @@ -204,7 +200,6 @@ jobs: with: args: | ${{ env.BUILD_ARGS }} \ - --no-cache \ --${{ matrix.arch }} \ --target "/data/${{ matrix.addon }}" \ --image "${{ steps.check.outputs.image }}" \