From 74a3cd597f315559056ec459dd68c44e1e1194d3 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 6 May 2023 12:11:10 -0700 Subject: [PATCH] Improved Docker tasks [skip ci] --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 75799e2..8540523 100644 --- a/Makefile +++ b/Makefile @@ -59,13 +59,13 @@ dist: mkdir -p dist git archive --format zip --prefix=$(EXTENSION)-$(EXTVERSION)/ --output dist/$(EXTENSION)-$(EXTVERSION).zip master -.PHONY: docker-local +.PHONY: docker -docker-local: - docker build --pull --no-cache --platform linux/amd64 -t ankane/pgvector:local . +docker: + docker build --pull --no-cache --platform linux/amd64 -t ankane/pgvector:latest . .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 . + docker buildx build --push --platform linux/amd64,linux/arm64 -t ankane/pgvector:v$(EXTVERSION) .