Skip to content

Increase Debian build workflow timeout to 210 minutes #166

Increase Debian build workflow timeout to 210 minutes

Increase Debian build workflow timeout to 210 minutes #166

Workflow file for this run

name: "build-latest"
on:
push:
branches:
- "main"
- "master"
paths:
- "src/**"
- ".github/workflows/**"
pull_request:
branches:
- "main"
- "master"
paths:
- "src/Dockerfile*"
jobs:
docker_buildx_debian:
runs-on: ubuntu-latest
timeout-minutes: 210
steps:
- name: Run Docker on tmpfs
uses: JonasAlfredsson/[email protected]
with:
tmpfs_size: 7
swap_size: 9
- name: Perform setup steps
uses: JonasAlfredsson/checkout-qemu-buildx@v2
with:
should_login: ${{ github.event_name != 'pull_request' }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push latest Debian image
uses: docker/[email protected]
with:
context: ./src
file: ./src/Dockerfile
platforms: |
linux/amd64
linux/386
linux/arm64
linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
tags: jonasal/nginx-certbot:latest
docker_buildx_alpine:
runs-on: ubuntu-latest
timeout-minutes: 100
steps:
- name: Run Docker on tmpfs
uses: JonasAlfredsson/[email protected]
with:
tmpfs_size: 7
swap_size: 9
- name: Perform setup steps
uses: JonasAlfredsson/checkout-qemu-buildx@v2
with:
should_login: ${{ github.event_name != 'pull_request' }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push latest Alpine image
uses: docker/[email protected]
with:
context: ./src
file: ./src/Dockerfile-alpine
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: jonasal/nginx-certbot:latest-alpine