Skip to content

Conversation

rjshrjndrn
Copy link

@rjshrjndrn rjshrjndrn commented Apr 16, 2025

##@ Docker

# To flag when the working copy had changes, use GIT_REV. To just use
# the latest commit hash, use GIT_SHA.
docker-build-dev: ## builds image
	docker build -t $(dev_image) --platform linux/amd64 --build-arg GIT_SHA=$(GIT_REV) .
docker-build-prod: ## builds image
	docker build -t $(prod_image) --platform linux/amd64 --build-arg GIT_SHA=$(GIT_REV) .

##@ Local dev

build: ## builds binary
	go build -ldflags "-s -w -X main.BuildVersion=$(GIT_REV)" cmd/cloud-manager/main.go
image

@rjshrjndrn rjshrjndrn changed the title Help make json with header section Help makefile with header section Apr 16, 2025
@rjshrjndrn
Copy link
Author

Hi @rafamadriz Can you please review ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant