diff --git a/update-go-version.sh b/update-go-version.sh index 8ab224a14c..381b82d854 100755 --- a/update-go-version.sh +++ b/update-go-version.sh @@ -15,6 +15,6 @@ sed -i "s,^\(FROM registry.ci.openshift.org/openshift/release:rhel-8-release-gol sed -i "s,^FROM registry.access.redhat.com/ubi8/go-toolset:[.0-9]\+,FROM registry.access.redhat.com/ubi8/go-toolset:${golang_base_version}," images/*/Dockerfile for f in .github/workflows/*.yml; do if [ $(yq eval '.jobs.build.strategy.matrix | has("go")' "$f") == "true" ]; then - yq eval --inplace ".jobs.build.strategy.matrix.go[0] = ${golang_base_version}" "$f"; + yq eval --inplace ".jobs.build.strategy.matrix.go[0] = ${golang_base_version} | .jobs.build.strategy.matrix.go[0] style=\"single\"" "$f"; fi done