logging/ci: default push_latest when scm build omits params
This commit is contained in:
parent
34e0183b48
commit
434b586970
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user