Skip to content

Commit

Permalink
Test building on tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlfredsson committed Feb 18, 2022
1 parent 49e0236 commit f61e5ae
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/build_latest.yml
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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

0 comments on commit f61e5ae

Please sign in to comment.