From 8e202d4fbacb8c526216721d022aac608192100f Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 24 Oct 2024 14:00:18 +0000 Subject: [PATCH] fix: do not add non-existent images --- podman.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/podman.mk b/podman.mk index fc5b10e..4949362 100644 --- a/podman.mk +++ b/podman.mk @@ -60,6 +60,7 @@ push: ecr-login ## push images to registry buildah manifest rm $(IMAGE):$$t || true; \ buildah manifest create $(IMAGE):$$t; \ for a in $(ALL_ARCHS); do \ + podman image exists $(REGISTRY)/$(IMAGE):$(TAG)-$$a && \ buildah manifest add $(IMAGE):$$t $(REGISTRY)/$(IMAGE):$(TAG)-$$a; \ done; \ echo "Pushing manifest $(IMAGE):$$t"