Skip to content

Commit 78710cd

Browse files
Support ARM arch
1 parent d76351a commit 78710cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ build: cmd/server/main.go
4646
go build -ldflags $(LDFLAGS) -mod vendor -o dist/provider ./cmd/server/main.go
4747

4848
docker-build:
49-
docker build -t ${IMAGE_PATH} -f build/Dockerfile .
50-
# docker buildx build --platform=linux/amd64 -t ${IMAGE_PATH} -f build/Dockerfile .
49+
docker buildx build --platform=linux/amd64,linux/arm64 -t ${IMAGE_PATH} -f build/Dockerfile .
5150

5251
docker-push:
5352
docker push ${IMAGE_PATH}
@@ -60,4 +59,4 @@ print-docker-image-path:
6059

6160
test-coverage:
6261
go test -coverprofile=cover.out ./…
63-
go tool cover -html=cover.out
62+
go tool cover -html=cover.out

0 commit comments

Comments
 (0)