Skip to content

NO-JIRA: chore(check-params-env GHA): fix the variable parsing #1135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/check-params-env.sh
Original file line number Diff line number Diff line change
@@ -433,7 +433,7 @@ function check_image() {
echo "Couldn't get 'OPENSHIFT_BUILD_NAME' from set of the image environment variables, maybe this is a Konflux build?"
# Let's keep this check here until we have all images on konflux - just to keep this check for older releases.
# For konflux images, the name of the repository should be now good enough as a check instead of this variable.
build_name_raw="OPENSHIFT_BUILD_NAME=konflux"
build_name_raw="\"OPENSHIFT_BUILD_NAME=konflux\""
}
openshift_build_name=$(echo "${build_name_raw}" | sed 's/.*"OPENSHIFT_BUILD_NAME=\(.*\)".*/\1/') || {
echo "Couldn't parse value of the 'OPENSHIFT_BUILD_NAME' variable from '${build_name_raw}'!"