Skip to content

Commit 83de0e1

Browse files
committed
fix(Makefile): setup docker buildx
Signed-off-by: Edward Ly <[email protected]>
1 parent 3c1719d commit 83de0e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ help:
2626
.PHONY: build-push
2727
build-push:
2828
docker login ghcr.io
29+
docker buildx create --name $(APP_ID) --driver docker-container --platform linux/amd64,linux/arm64/v8 --use || true
2930
docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/cloud-py-api/$(APP_ID):$(APP_VERSION) --tag ghcr.io/cloud-py-api/$(APP_ID):latest .
3031

3132
.PHONY: run

0 commit comments

Comments
 (0)