Skip to content

Commit

Permalink
Bump go version
Browse files Browse the repository at this point in the history
  • Loading branch information
yariv-apiiro committed Apr 16, 2024
1 parent 8acf4d2 commit 5fc0b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif
GO111MODULE=on CGO_ENABLED=0 GOARCH=amd64 $(GOCMD) build -o bin/$(BINARY_NAME)-$(shell $(GOCMD) run . --version | cut -d" " -f 3)-osx .

build-linux:
docker run --rm -v $(shell pwd):/app -w /app --platform=linux/amd64 golang:1.20-alpine3.18 /bin/sh -c "GO111MODULE=on CGO_ENABLED=0 GOARCH=amd64 $(GOCMD) build -o bin/$(BINARY_NAME)-$(shell $(GOCMD) run . --version | cut -d" " -f 3)-linux ."
docker run --rm -v $(shell pwd):/app -w /app --platform=linux/amd64 golang:1.22-alpine /bin/sh -c "GO111MODULE=on CGO_ENABLED=0 GOARCH=amd64 $(GOCMD) build -o bin/$(BINARY_NAME)-$(shell $(GOCMD) run . --version | cut -d" " -f 3)-linux ."

clean:
rm -rf ./bin
Expand Down

0 comments on commit 5fc0b15

Please sign in to comment.