docker: manifest push: Ignore missing images 18/1718/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 3 Oct 2019 10:26:17 +0000 (12:26 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 3 Oct 2019 10:26:17 +0000 (12:26 +0200)
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 <Alexandru.Avadanii@enea.com>
docker/build.mk

index 2f7d398..6ecaaf5 100644 (file)
@@ -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)