google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.86k stars 1.3k forks source link

Allow DOCKER_FORCE_PUSH for test images. #11180

Closed copybara-service[bot] closed 1 week ago

copybara-service[bot] commented 1 week ago

Allow DOCKER_FORCE_PUSH for test images.

The push-* command skips rebuild and image push w/ latest tag when a image tag exists remotely. Most of gVisor test images have never got a chance to be tagged because they already exist when DOCKER_PUSH_AS_LATEST was introduced.

We shouldn't enable DOCKER_FORCE_PUSH in our pipelines, it is better to be a one off tool when the latest tag of an image is missing from remote repos.