From e8ca14a77b062c252215e4bf0b3740b489a392e9 Mon Sep 17 00:00:00 2001 From: Vitaliy Potyarkin Date: Thu, 24 Oct 2024 17:04:03 +0300 Subject: [PATCH] Logout from registry after pushing the image Signed-off-by: Vitaliy Potyarkin --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1659f5e25..cd2456a85 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,5 @@ $(TAGS): ifneq (,$(PUSH)) echo $$REGISTRY_PASSWORD | buildah login --username $(REGISTRY_USER) --password-stdin $(REGISTRY) buildah push --rm $(IMAGE):$@ docker://$(IMAGE):$@ - rm $(REGISTRY_AUTH_FILE) - -export REGISTRY_AUTH_FILE=$(shell mktemp -u) + buildah logout endif