From 6eaa40f345a7850bdf8c3ac984d0d23778cf53de Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 6 Dec 2024 11:46:55 -0800 Subject: [PATCH] Automated rollback of changelist 696823576 PiperOrigin-RevId: 703567599 --- tools/images.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/images.mk b/tools/images.mk index 001144dd1..6607b4ab4 100644 --- a/tools/images.mk +++ b/tools/images.mk @@ -183,12 +183,9 @@ test-%: register-cross ## Build an image locally if the remote doesn't exist. # tag. # If DOCKER_PUSH_AS_LATEST is set to true, this also marks this image as being # the latest one on the remote repository. -# When DOCKER_FORCE_PUSH is true, it always pushes the image regardless of -# whether the image already exists on the remote. DOCKER_PUSH_AS_LATEST ?= false -DOCKER_FORCE_PUSH ?= false push-%: - ($(call image_manifest,$*) >&2 && test $(DOCKER_FORCE_PUSH) '!=' true) || \ + $(call image_manifest,$*) >&2 || \ ( $(call rebuild,$*) && \ docker image push $(call remote_image,$*):$(call tag,$*) >&2 && \ ( test $(DOCKER_PUSH_AS_LATEST) '!=' true || \