fix up escaping nonsense
parent
0147378459
commit
5d642c5311
|
@ -14,6 +14,8 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
./hack/jenkins/installers/check_install_docker.sh
|
./hack/jenkins/installers/check_install_docker.sh
|
||||||
yes|gcloud auth configure-docker
|
yes|gcloud auth configure-docker
|
||||||
now=$(date +%s)
|
now=$(date +%s)
|
||||||
|
@ -26,16 +28,7 @@ docker pull $KICBASE_IMAGE_REGISTRIES
|
||||||
fullsha=$(docker inspect --format='{{index .RepoDigests 0}}' $KICBASE_IMAGE_REGISTRIES)
|
fullsha=$(docker inspect --format='{{index .RepoDigests 0}}' $KICBASE_IMAGE_REGISTRIES)
|
||||||
sha=$(echo ${fullsha} | cut -d ":" -f 2)
|
sha=$(echo ${fullsha} | cut -d ":" -f 2)
|
||||||
|
|
||||||
message="Hi ${ghprbPullAuthorLoginMention},
|
message="Hi ${ghprbPullAuthorLoginMention},\\n\\nA new kicbase image is available, please update your PR with the new tag and SHA.\\nIn pkg/drivers/kic/types.go:\\n\\n\\t// Version is the current version of kic\\n\\tVersion = \\\"${KICBASE_IMAGE_REGISTRIES}\\\"\\n\\t// SHA of the kic base image\\n\\tbaseImageSHA = \\\"${sha}\\\"\\n"
|
||||||
|
|
||||||
A new kicbase image is available, please update your PR with the new tag and SHA.
|
|
||||||
In pkg/drivers/kic/types.go:
|
|
||||||
|
|
||||||
// Version is the current version of kic
|
|
||||||
Version = \"${KICBASE_IMAGE_REGISTRIES}\"
|
|
||||||
// SHA of the kic base image
|
|
||||||
baseImageSHA = \"${sha}\"
|
|
||||||
"
|
|
||||||
|
|
||||||
curl -s -H "Authorization: token ${access_token}" \
|
curl -s -H "Authorization: token ${access_token}" \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
|
Loading…
Reference in New Issue