Commit 4209c181 by Chavee Issariyapat

Update Makefile

parent 2d4e86bc
# a helper shell script # a helper shell script
MAKE_VERSION=1.2.8 MAKE_VERSION=1.2.9
define MAKEFUNCTIONCODE define MAKEFUNCTIONCODE
function hasChanges() { function hasChanges() {
...@@ -202,7 +202,7 @@ post-init: ...@@ -202,7 +202,7 @@ post-init:
@rm .make-function @rm .make-function
docker-buildx: docker-buildx:
docker buildx build --push --platform linux/arm64/v8,linux/amd64 $(BUILDARG) --tag $(IMAGE):$(VERSIONHASH) $(PROJECTPATH) docker buildx build --push --platform linux/arm64/v8,linux/amd64 $(BUILDARG) --tag $(IMAGE):$(VERSIONHASH) --tag $(IMAGE):$(VERSION) --tag $(IMAGE):latest $(PROJECTPATH)
docker-build: docker-build:
docker build --platform=linux/amd64 $(BUILDARG) -t $(IMAGE):$(VERSIONHASH) $(PROJECTPATH) docker build --platform=linux/amd64 $(BUILDARG) -t $(IMAGE):$(VERSIONHASH) $(PROJECTPATH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment