Skip to content

Help makefile with header section #567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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