mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
39 lines
783 B
YAML
39 lines
783 B
YAML
name: Build Debian Container Image
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "debian/**"
|
|
push:
|
|
paths:
|
|
- "debian/**"
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
with:
|
|
platforms: all
|
|
|
|
- name: Set up Docker Buildx
|
|
id: buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Build
|
|
id: docker_build
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: debian
|
|
file: debian/Dockerfile
|
|
load: true
|
|
tags: invoiceninja/invoiceninja-debian:test
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|