Merge pull request #8669 from dokku/8630-ps-restart-and-other-commands-fail-after-local-image-gc-when-registry-push-on-release-is-enabled

Recover deployed image from registry on local miss
This commit is contained in:
Jose Diaz-Gonzalez
2026-05-26 21:09:15 -04:00
committed by GitHub
9 changed files with 155 additions and 27 deletions

View File

@@ -510,7 +510,7 @@ nginx_build_config() {
if [[ "$(plugn trigger network-get-static-listeners "$APP" "web")" == "" ]]; then
local IMAGE_TAG=$(get_running_image_tag "$APP")
local IMAGE=$(get_deploying_app_image_name "$APP" "$IMAGE_TAG" 2>/dev/null)
if ! verify_image "$IMAGE" 2>/dev/null; then
if ! fn-verify-app-image "$APP" "$IMAGE" 2>/dev/null; then
dokku_log_fail "Missing image for app"
fi
fi