Skip to content

Commit

Permalink
Add multi-arch docker build test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWinterstein committed Nov 25, 2024
1 parent 488d451 commit 500635a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux/amd64, linux/arm/v7, linux/arm64]

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v3
with:
platforms: ${{ matrix.platform }}
push: false
tags: |
maxwinterstein/toogoodtogo-ha-mqtt-bridge:build-${{ matrix.platform }}

0 comments on commit 500635a

Please sign in to comment.