Skip to content

Commit

Permalink
Merge pull request kubernetes#274 from mkumatag/fix_manifest_push
Browse files Browse the repository at this point in the history
Purge the manifest after the push
  • Loading branch information
k8s-ci-robot authored Oct 4, 2018
2 parents 3a2f276 + cf992dd commit 1a8470b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guestbook/php-redis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ all-container: $(addprefix sub-container-,$(ALL_ARCH))
all-push: $(addprefix sub-push-,$(ALL_ARCH))
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}

container: .container-$(ARCH)
.container-$(ARCH):
Expand Down
2 changes: 1 addition & 1 deletion guestbook/redis-slave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ all-container: $(addprefix sub-container-,$(ALL_ARCH))
all-push: $(addprefix sub-push-,$(ALL_ARCH))
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}

container: .container-$(ARCH)
.container-$(ARCH):
Expand Down

0 comments on commit 1a8470b

Please sign in to comment.