Skip to content

Commit

Permalink
add qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs committed Aug 18, 2022
1 parent 46d2211 commit cd3765a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: linux/amd64,linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: build
run: make build
with:
platforms: linux/amd64,linux/arm64


- name: Set up Go
uses: actions/setup-go@v2
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BUILDPLATFORM
#ARG BUILDPLATFORM
FROM --platform=$BUILDPLATFORM docker.io/golang:1.17 as builder
WORKDIR /go/src
# Copy `go.mod` for definitions and `go.sum` to invalidate the next layer
Expand Down

0 comments on commit cd3765a

Please sign in to comment.