Skip to content

Commit

Permalink
Merge pull request #234 from kubernetes-sigs/fix/docker-push-manifest
Browse files Browse the repository at this point in the history
馃悰 fix docker-push-manifest
  • Loading branch information
schrej committed Feb 14, 2024
2 parents f78cd24 + a0e154d commit d4352c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,8 @@ docker-push: ## Push docker image with the manager.

docker-push-manifest:
docker manifest create --amend $(STAGING_IMG):$(TAG) $(shell echo $(ALL_ARCH) | sed -e "s~[^ ]*~$(STAGING_IMG)\-&:$(TAG)~g")
@for arch in $(ALL_ARCH); do docker manifest annotate --arch $${arch} ${IMG}:${TAG} ${IMG}-$${arch}:${TAG}; done
@for arch in $(ALL_ARCH); do docker manifest annotate --arch $${arch} $(STAGING_IMG):$(TAG) $(STAGING_IMG)-$${arch}:$(TAG); done
docker manifest push --purge $(STAGING_IMG):$(TAG)
$(MAKE) set-manifest-image MANIFEST_IMG=$(STAGING_IMG) MANIFEST_TAG=$(TAG) TARGET_RESOURCE="./config/default/manager_image_patch.yaml"
$(MAKE) set-manifest-pull-policy TARGET_RESOURCE="./config/default/manager_pull_policy.yaml"


##@ Release
Expand Down

0 comments on commit d4352c0

Please sign in to comment.