Files
kakawa/Makefile

13 lines
447 B
Makefile

.PHONY: build-production
build-production: ## Build the production docker image.
@docker buildx build \
--platform linux/amd64,linux/arm64/v8 \
--allow security.insecure \
--allow network.host \
--network=host \
--tag registry.tanshu.com/kakawa:latest \
$(if $(TAG),--tag registry.tanshu.com/kakawa:$(TAG)) \
--push \
$(shell grep -v '^#' .env.local | sed 's/^/--build-arg /') \
git@git.tanshu.com:tanshu/kakawa.git