Skip to content

Commit

Permalink
build docker multiplatform
Browse files Browse the repository at this point in the history
  • Loading branch information
celloman committed Jul 12, 2021
1 parent a6a5ac7 commit 0ed1716
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,22 @@ jobs:
name: p8e-ui
path: build

- name: Setup QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt:latest
platforms: all

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
install: true

- name: Available platforms
run: echo ${{ steps.qemu.outputs.platforms }}

- name: Build image
run: docker build . --file docker/Dockerfile --tag "p8e-ui:$VERSION"

Expand Down

0 comments on commit 0ed1716

Please sign in to comment.