From: Alexandru Avadanii Date: Thu, 3 Oct 2019 10:26:17 +0000 (+0200) Subject: docker: manifest push: Ignore missing images X-Git-Tag: 2.0.0~25 X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=commitdiff_plain;h=1bbdb9d01f488464dd3365d5950eb7222050e75c docker: manifest push: Ignore missing images Certain containers might lack one of the images that should be part of the multiarch tag, so create the manifest without them and do not bail in such scenarios. Change-Id: Ia1094d1dfb1c998d7eda5e68c751d75ab3966c5b Signed-off-by: Alexandru Avadanii --- diff --git a/docker/build.mk b/docker/build.mk index 2f7d398..6ecaaf5 100644 --- a/docker/build.mk +++ b/docker/build.mk @@ -60,6 +60,7 @@ $(MTOOL): .PHONY: .push_manifest .push_manifest: $(MTOOL) $(MTOOL) push from-args \ + --ignore-missing \ --platforms linux/amd64,linux/arm64 \ --template $(REGISTRY)/$(NAME):$(TAG_PRE)-ARCH-$(TAG_VER) \ --target $(REGISTRY)/$(NAME):$(TAG_PRE)-$(TAG_VER)