diff --git a/Makefile b/Makefile index 1b5aba0..69f3a8f 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,10 @@ package-cross: cross ## Package the cross compiled binaries in tarballs for *nix --platform linux/arm64 \ --output type=tar,dest=- \ --target package | gzip -9 > dist/$(BINARY_NAME)-linux-arm64.tar.gz + docker build $(BUILD_ARGS) . \ + --platform linux/arm \ + --output type=tar,dest=- \ + --target package | gzip -9 > dist/$(BINARY_NAME)-linux-arm.tar.gz docker build $(BUILD_ARGS) . \ --platform darwin/amd64 \ --output type=tar,dest=- \ diff --git a/builder.Makefile b/builder.Makefile index 2640460..6ca741a 100644 --- a/builder.Makefile +++ b/builder.Makefile @@ -44,6 +44,7 @@ test-unit: cross: GOOS=linux GOARCH=amd64 $(STATIC_FLAGS) $(GO_BUILD) -o bin/$(BINARY_NAME)_linux_amd64 ./cmd/$(BINARY_NAME) GOOS=linux GOARCH=arm64 $(STATIC_FLAGS) $(GO_BUILD) -o bin/$(BINARY_NAME)_linux_arm64 ./cmd/$(BINARY_NAME) + GOOS=linux GOARCH=arm $(STATIC_FLAGS) $(GO_BUILD) -o bin/$(BINARY_NAME)_linux_arm ./cmd/$(BINARY_NAME) GOOS=darwin GOARCH=amd64 $(STATIC_FLAGS) $(GO_BUILD) -o bin/$(BINARY_NAME)_darwin_amd64 ./cmd/$(BINARY_NAME) GOOS=windows GOARCH=amd64 $(STATIC_FLAGS) $(GO_BUILD) -o bin/$(BINARY_NAME)_windows_amd64.exe ./cmd/$(BINARY_NAME)