Skip to content

Commit e9e233f

Browse files
committed
NO-JIRA: chore(check-params-env GHA): fix the variable parsing
1 parent 415cd38 commit e9e233f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/check-params-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ function check_image() {
433433
echo "Couldn't get 'OPENSHIFT_BUILD_NAME' from set of the image environment variables, maybe this is a Konflux build?"
434434
# Let's keep this check here until we have all images on konflux - just to keep this check for older releases.
435435
# For konflux images, the name of the repository should be now good enough as a check instead of this variable.
436-
build_name_raw="OPENSHIFT_BUILD_NAME=konflux"
436+
build_name_raw="\"OPENSHIFT_BUILD_NAME=konflux\""
437437
}
438438
openshift_build_name=$(echo "${build_name_raw}" | sed 's/.*"OPENSHIFT_BUILD_NAME=\(.*\)".*/\1/') || {
439439
echo "Couldn't parse value of the 'OPENSHIFT_BUILD_NAME' variable from '${build_name_raw}'!"

0 commit comments

Comments
 (0)