Pipiline for docker build
This commit is contained in:
8
Makefile
Normal file
8
Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
.PHONY: build-production
|
||||
build-production: ## Build the production docker image.
|
||||
@docker buildx build \
|
||||
--platform linux/amd64,linux/arm64/v8 \
|
||||
--tag registry.tanshu.com/mozimo:latest \
|
||||
$(if $(TAG),--tag registry.tanshu.com/mozimo:$(TAG)) \
|
||||
--push \
|
||||
git@github.com:tanshu/mozimo.git
|
||||
Reference in New Issue
Block a user