Merge branch 'main' into mamba/2.3.2

pull/1465/head
Wei Ji 2025-09-07 18:59:26 +12:00
commit 38478f8c19
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4FE595004754C52F
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -733,7 +733,10 @@ class Repo2Docker(Application):
try:
self.fetch(self.repo, self.ref, checkout_path)
if self.find_image():
if self.find_image() and not self.push:
# If push is requested we don't have a general way to query the registry.
# ContainerEngine.build() also handles pushing, so always "build" and
# rely on the implementation to decide whether to rebuild.
self.log.info(
f"Reusing existing image ({self.output_image_spec}), not building."
)