Pipiline for docker build
This commit is contained in:
1 parent
a2727d3f5d
commit
e3396231b3
3 files changed
+4617
No files matched your search
@@ -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