Merge pull request #69152 from mkumatag/fix_manifest_push

Purge the manifest after the push
This commit is contained in:
k8s-ci-robot
2018-10-24 01:06:10 -07:00
committed by GitHub
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/