mirror of
https://git.mills.io/prologic/zs
synced 2024-11-22 05:16:11 +03:00
Fix image target
This commit is contained in:
parent
239d26a15a
commit
7643998153
6
Makefile
6
Makefile
@ -57,14 +57,14 @@ install: build ## Install zs (cli) to $DESTDIR
|
||||
@install -D -m 755 zs $(DESTDIR)/zs
|
||||
|
||||
ifeq ($(PUBLISH), 1)
|
||||
image: generate ## Build the Docker image
|
||||
image: ## Build the Docker image
|
||||
@docker buildx build \
|
||||
--build-arg VERSION="$(VERSION)" \
|
||||
--build-arg COMMIT="$(COMMIT)" \
|
||||
--build-arg BUILD="$(BUILD)" \
|
||||
--platform linux/amd64,linux/arm64 --push -t $(IMAGE):$(TAG) .
|
||||
else
|
||||
image: generate
|
||||
image:
|
||||
@docker build \
|
||||
--build-arg VERSION="$(VERSION)" \
|
||||
--build-arg COMMIT="$(COMMIT)" \
|
||||
@ -72,7 +72,7 @@ image: generate
|
||||
-t $(IMAGE):$(TAG) .
|
||||
endif
|
||||
|
||||
release: generate ## Release a new version to Gitea
|
||||
release: ## Release a new version to Gitea
|
||||
@./tools/release.sh
|
||||
|
||||
fmt: ## Format sources files
|
||||
|
Loading…
Reference in New Issue
Block a user