1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-24 06:15:46 +00:00

added -n to IMAGE_URL result to avoid adding a line feed

added -n tto IMAGE_URL result to avoid adding a line feed

edited v 0.6 rather than creating 0.7
This commit is contained in:
ggalloro 2022-04-05 11:04:35 +02:00 committed by tekton-robot
parent bc2444829c
commit ec3af2a2b5

View File

@ -62,4 +62,4 @@ spec:
script: |
set -e
image="$(params.IMAGE)"
echo "${image}" | tee "$(results.IMAGE_URL.path)"
echo -n "${image}" | tee "$(results.IMAGE_URL.path)"