From f61e5ae5dac3ea4d472f78471ca9f9c4b3c4d53a Mon Sep 17 00:00:00 2001 From: jonas Date: Fri, 18 Feb 2022 12:32:06 +0100 Subject: [PATCH] Test building on tmpfs --- .github/workflows/build_latest.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 53e2cce..c31fdbb 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -18,8 +18,13 @@ on: jobs: docker_buildx_debian: runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 90 steps: + - name: Run Docker on tmpfs + uses: JonasAlfredsson/docker-on-tmpfs@main + with: + tmpfs_size: 4 + - name: Perform setup steps uses: JonasAlfredsson/checkout-qemu-buildx@v1.0.0 with: @@ -38,13 +43,24 @@ jobs: linux/arm64 linux/arm/v7 push: ${{ github.event_name != 'pull_request' }} - build-args: BUILDX_QEMU_ENV=true + build-args: BUILDX_QEMU_ENV=false tags: jonasal/nginx-certbot:latest + - name: Print usage info + shell: bash + run: | + sudo df -h + echo + sudo free -h + docker_buildx_alpine: runs-on: ubuntu-latest - timeout-minutes: 60 steps: + - name: Run Docker on tmpfs + uses: JonasAlfredsson/docker-on-tmpfs@main + with: + tmpfs_size: 4 + - name: Perform setup steps uses: JonasAlfredsson/checkout-qemu-buildx@v1.0.0 with: @@ -60,5 +76,13 @@ jobs: platforms: | linux/amd64 linux/arm64 + linux/arm/v7 push: ${{ github.event_name != 'pull_request' }} tags: jonasal/nginx-certbot:latest-alpine + + - name: Print usage info + shell: bash + run: | + sudo df -h + echo + sudo free -h