Automated rollback of changelist 696823576

PiperOrigin-RevId: 703567599
This commit is contained in:
Andrei Vagin
2024-12-06 11:50:03 -08:00
committed by gVisor bot
parent 1092006d45
commit 6eaa40f345
+1 -4
View File
@@ -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 || \