Skip to content

Commit

Permalink
Merge pull request #8658 from Kong/chore/scripts-update-docker-missin…
Browse files Browse the repository at this point in the history
…g-function

chore(scripts) add missing update_docker function in release/2.8.x
  • Loading branch information
tyler-ball authored Apr 8, 2022
2 parents 05b7a4a + c2b80cd commit 9dcf9f6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,26 @@ function merge_docker() {
" $0 $version submit_docker"
}


#-------------------------------------------------------------------------------
function update_docker {
if [ -d ../docker-kong ]
then
cd ../docker-kong
else
cd ..
git clone https://github.com/kong/docker-kong
cd docker-kong
fi

git pull
git checkout -B "release/$1"

set -e
./update.sh "$1"
}


#-------------------------------------------------------------------------------
function submit_docker() {
version=$1
Expand Down

0 comments on commit 9dcf9f6

Please sign in to comment.