summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2024-02-14 23:43:20 +0100
committerDaniel Milde <daniel@milde.cz>2024-02-14 23:44:50 +0100
commita752ea60c17b8a2fad016db5b617e72bfe68ce89 (patch)
tree94bbcc09574aca2da49acb238b4e138010c82a26
parentc310f97b1ecf96a6d5fc51060a08fc855ff8f6f1 (diff)
ci: build-docker as dependency for all
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c0daa82..f8ce3b7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ ifeq ($(shell uname -s),Darwin)
TAR := gtar # brew install gnu-tar
endif
-all: clean tarball build-all man clean-uncompressed-dist shasums
+all: clean tarball build-all build-docker man clean-uncompressed-dist shasums
run:
go run $(PACKAGE)/$(CMD_GDU)
@@ -74,8 +74,6 @@ build-all:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o dist/gdu_linux_arm64 $(PACKAGE)/$(CMD_GDU)
CGO_ENABLED=0 GOOS=android GOARCH=arm64 go build -ldflags="$(LDFLAGS)" -o dist/gdu_android_arm64 $(PACKAGE)/$(CMD_GDU)
- docker build . --tag ghcr.io/dundee/gdu:$(VERSION)
-
cd dist; for file in gdu_linux_* gdu_darwin_* gdu_netbsd_* gdu_openbsd_* gdu_freebsd_* gdu_android_*; do tar czf $$file.tgz $$file; done
cd dist; for file in gdu_windows_*; do zip $$file.zip $$file; done
@@ -143,7 +141,6 @@ shasums:
cd dist; gpg --sign --armor --detach-sign sha256sums.txt
release:
- docker push ghcr.io/dundee/gdu:$(VERSION)
gh release create -t "gdu $(VERSION)" $(VERSION) ./dist/*
install-dev-dependencies: