]> Nishi Git Mirror - aya.git/commitdiff
Fix image target
authorJames Mills <1290234+prologic@users.noreply.github.com>
Sun, 12 Mar 2023 12:12:12 +0000 (22:12 +1000)
committerJames Mills <1290234+prologic@users.noreply.github.com>
Sun, 12 Mar 2023 12:12:12 +0000 (22:12 +1000)
Makefile

index 815e6bb56b0a9d6c46ac960e9d83f7c9c29ab4b6..098cc252a99b0d0825cf43e3f5001b99db86d369 100644 (file)
--- a/Makefile
+++ b/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