@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)" \
-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