Fix tag name reference in push-% recipe

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
Vitaliy Potyarkin 2024-10-24 18:08:58 +03:00
parent ab35bf6f37
commit a3b7e14413

View file

@ -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