Squashed '.ci/' changes from 6ef8d28..8e202d4

8e202d4 fix: do not add non-existent images

git-subtree-dir: .ci
git-subtree-split: 8e202d4fbacb8c526216721d022aac608192100f
This commit is contained in:
Stefan Reimer 2024-10-24 14:00:41 +00:00
parent af814e117f
commit 3f3de42ddc

View File

@ -60,6 +60,7 @@ push: ecr-login ## push images to registry
buildah manifest rm $(IMAGE):$$t || true; \ buildah manifest rm $(IMAGE):$$t || true; \
buildah manifest create $(IMAGE):$$t; \ buildah manifest create $(IMAGE):$$t; \
for a in $(ALL_ARCHS); do \ for a in $(ALL_ARCHS); do \
podman image exists $(REGISTRY)/$(IMAGE):$(TAG)-$$a && \
buildah manifest add $(IMAGE):$$t $(REGISTRY)/$(IMAGE):$(TAG)-$$a; \ buildah manifest add $(IMAGE):$$t $(REGISTRY)/$(IMAGE):$(TAG)-$$a; \
done; \ done; \
echo "Pushing manifest $(IMAGE):$$t" echo "Pushing manifest $(IMAGE):$$t"