From 4c59401121680acd76cc2dcbec3cb07e2ef7e4c3 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Fri, 26 Feb 2021 09:39:58 -0800 Subject: [PATCH] fix script up --- hack/jenkins/kicbase_auto_build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hack/jenkins/kicbase_auto_build.sh b/hack/jenkins/kicbase_auto_build.sh index 6541c73667..f743987fdf 100755 --- a/hack/jenkins/kicbase_auto_build.sh +++ b/hack/jenkins/kicbase_auto_build.sh @@ -74,7 +74,7 @@ fi # Retrieve the sha from the new image docker pull $GCR_IMG -fullsha=$(docker inspect --format='{{index .RepoDigests 0}}' $KICBASE_IMAGE_REGISTRIES) +fullsha=$(docker inspect --format='{{index .RepoDigests 0}}' $GCR_IMG) sha=$(echo ${fullsha} | cut -d ":" -f 2) if [ "$release" = false ]; then @@ -120,8 +120,7 @@ else sed -i "s|Version = .*|Version = \"${KIC_VERSION}\"|;s|baseImageSHA = .*|baseImageSHA = \"${sha}\"|;s|gcrRepo = .*|gcrRepo = \"${GCR_REPO}\"|;s|dockerhubRepo = .*|dockerhubRepo = \"${DH_REPO}\"|" pkg/drivers/kic/types.go make generate-docs - git add -A - git commit -m "Update kicbase to ${KIC_VERSION}" + git commit -am "Update kicbase to ${KIC_VERSION}" git remote add minikube-bot git@github.com:minikube-bot/minikube.git git push -f minikube-bot ${branch}