pgvector.git / summary / log / commit / refs
commit db8ed738b888bff56d5fea782eceddbb10c5db1d
Author: Andrew Kane <andrew@ankane.org>
Date: Sat May 06 18:59:46 2023 +0000
Split Docker tasks [skip ci]
Makefile | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 7580cacc..75799e25 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,13 @@ dist:
mkdir -p dist
git archive --format zip --prefix=$(EXTENSION)-$(EXTVERSION)/ --output dist/$(EXTENSION)-$(EXTVERSION).zip master
-.PHONY: docker
+.PHONY: docker-local
-docker:
+docker-local:
+ docker build --pull --no-cache --platform linux/amd64 -t ankane/pgvector:local .
+
+.PHONY: docker-release
+
+docker-release:
docker buildx build --push --pull --no-cache --platform linux/amd64,linux/arm64 -t ankane/pgvector:latest .
+ docker buildx build --push --platform linux/amd64,linux/arm64 -t ankane/pgvector:v0.4.1 .
[parent: 54c550420b7a]