Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Fix makefile issues (#816)
Browse files Browse the repository at this point in the history
* Correct environment variables GOOS GOOARCH

The existing version was creating a single env variable GOOS with the
value "linux GOARCH=amd64".

* Give empty second argument
  • Loading branch information
simonswine authored Jul 6, 2023
1 parent eaffa4f commit 44c6dfc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,20 @@ define deploy
endef

.PHONY: docker-image/phlare/build-debug
docker-image/phlare/build-debug: GOOS=linux GOARCH=amd64
docker-image/phlare/build-debug: GOOS=linux
docker-image/phlare/build-debug: GOARCH=amd64
docker-image/phlare/build-debug: frontend/build go/bin-debug $(BIN)/dlv
$(call docker_buildx,--load,debug.)

.PHONY: docker-image/phlare/build
docker-image/phlare/build: GOOS=linux GOARCH=amd64
docker-image/phlare/build: GOOS=linux
docker-image/phlare/build: GOARCH=amd64
docker-image/phlare/build: frontend/build go/bin
$(call docker_buildx,--load --iidfile .docker-image-id-phlare)
$(call docker_buildx,--load --iidfile .docker-image-id-phlare,)

.PHONY: docker-image/phlare/push
docker-image/phlare/push: GOOS=linux
docker-image/phlare/push: GOARCH=amd64
docker-image/phlare/push: frontend/build go/bin
$(call docker_buildx,--push)

Expand Down

0 comments on commit 44c6dfc

Please sign in to comment.