From a3b7e1441343fb62fe7dd86a954b726dfe14bce8 Mon Sep 17 00:00:00 2001 From: Vitaliy Potyarkin Date: Thu, 24 Oct 2024 18:08:58 +0300 Subject: [PATCH] Fix tag name reference in push-% recipe Signed-off-by: Vitaliy Potyarkin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 680d7e0..f8c2716 100644 --- a/Makefile +++ b/Makefile @@ -18,5 +18,5 @@ PUSH=$(foreach tag,$(TAGS),push-$(tag)) $(PUSH): echo -n "$$REGISTRY_PASSWORD" | wc echo "$$REGISTRY_PASSWORD" | buildah login --username $(REGISTRY_USER) --password-stdin $(REGISTRY) - buildah push --rm $(IMAGE):$@ docker://$(IMAGE):$@ + buildah push --rm $(IMAGE):$(patsubst push-%,%,$@) docker://$(IMAGE):$(patsubst push-%,%,$@) buildah logout