Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions .github/workflows/test-dockerfile.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@

name: build Dockerfile

on:
push:
paths:
- 'Dockerfile'
- 'depends/**'
- '.github/workflows/test-dockerfile.yml'
pull_request:
paths:
- 'Dockerfile'
- 'depends/**'
- '.github/workflows/test-dockerfile.yml'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- name: Build Docker image
run: docker build -t firo .

name: Build Dockerfile (${{ matrix.platform }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: [linux/amd64, linux/arm64]
steps:
- uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest@sha256:d3b963f787999e6c0219a48dba02978769286ff61a5f4d26245cb6a6e5567ea3
platforms: arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
run: docker buildx build --platform ${{ matrix.platform }} -t firo .
Loading