Purge the manifest after the push

This commit is contained in:
Manjunath A Kumatagi
2018-09-27 18:58:16 +05:30
parent 807eb6b24b
commit db0aaee57f
4 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ all-push: all-push-images push-manifest
push-manifest:
docker manifest create --amend $(IMAGE):$(TAG) $(shell echo $(ALL_ARCH) | sed -e "s~[^ ]*~$(IMAGE)\-&:$(TAG)~g")
@for arch in $(ALL_ARCH); do docker manifest annotate --arch $${arch} ${IMAGE}:${TAG} ${IMAGE}-$${arch}:${TAG}; done
docker manifest push ${IMAGE}:${TAG}
docker manifest push --purge ${IMAGE}:${TAG}
cni-tars/$(CNI_TARBALL):
mkdir -p cni-tars/