Skip to content

Commit

Permalink
Copy and paste error from before, not used in CI pipeline at all
Browse files Browse the repository at this point in the history
  • Loading branch information
crunchyheath committed Jan 25, 2024
1 parent 9c43e6b commit 453fa66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ clean: ## This will clean all local build artifacts
$(info Cleaning project...)
@rm -f $(PROGRAM)
@rm -rf docs/*
@docker image inspect $(CONTAINER):$(IMAGE_TAG) >/dev/null 2>&1 && docker rmi -f $(shell docker images --filter label=release=latest --filter=reference="*featureserv:*" -q) || echo -n ""
@docker image inspect $(CONTAINER):$(IMAGE_TAG) >/dev/null 2>&1 && docker rmi -f $(shell docker images --filter label=release=latest --filter=reference="*tileserv:*" -q) || echo -n ""

docs: ## Generate docs
@rm -rf docs/* && cd hugo && hugo && cd ..
Expand All @@ -65,7 +65,7 @@ bin-docker: ## Build a local binary based off of a golang base docker i

bin-for-docker: $(GOFILES) ## Build a local binary using APPVERSION parameter or CI as default (to be used in docker image)
# to be used in docker the built binary needs the CGO_ENABLED=0 option
CGO_ENABLED=0 go build -v -ldflags "-s -w -X github.com/CrunchyData/pg_featureserv/conf.setVersion=$(APPVERSION)"
CGO_ENABLED=0 go build -v -ldflags "-s -w -X main.programVersion=$(APPVERSION)"

build-common: Dockerfile
docker build -f Dockerfile \
Expand Down

0 comments on commit 453fa66

Please sign in to comment.