logging/ci: default push_latest when scm build omits params

This commit is contained in:
Brad Stein 2026-04-10 06:42:25 -03:00
parent 34e0183b48
commit 434b586970

View File

@ -71,7 +71,7 @@ spec:
}
EOF
dest_args="--destination ${HARBOR_REPO}:${IMAGE_TAG_SAFE}"
if [ "${PUSH_LATEST}" = "true" ]; then
if [ "${PUSH_LATEST:-true}" = "true" ]; then
dest_args="${dest_args} --destination ${HARBOR_REPO}:latest"
fi
/kaniko/executor \