Skip to content

Commit

Permalink
Fix script for push latest image (#23)
Browse files Browse the repository at this point in the history
Fix script for push latest image issue, unable to install jq
  • Loading branch information
chinhuang007 authored Aug 27, 2021
1 parent c77a44f commit b6e9829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/deploy/iks/build-image-dind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ build_image() {
push_image() {
echo "=======================Push image to Docker Hub==============================="
if [[ "$PUBLISH_TAG" == "latest" ]]; then
apt update
apt install jq -y
apt install curl -y
export LAST_PUSHED=$(curl -X GET https://hub.docker.com/v2/repositories/${DOCKERHUB_NAMESPACE}/modelmesh-controller/tags/latest | jq -r '.tag_last_pushed')
Expand Down

0 comments on commit b6e9829

Please sign in to comment.