1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Add support for ARMv7 and ARM64 docker images (#267)

* Build armv7 and arm64 docker containers

* Add QEMU step to build for multi arch

* Pin qemu action version
This commit is contained in:
kaustubh105
2022-02-25 08:56:18 -08:00
committed by GitHub
parent 5322462899
commit e91e8d5aee

View File

@@ -25,6 +25,10 @@ jobs:
type=edge,branch=main type=edge,branch=main
flavor: | flavor: |
latest=auto latest=auto
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Login to DockerHub - name: Login to DockerHub
@@ -44,6 +48,7 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64, linux/arm/v7
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}