Skip to content

Commit

Permalink
Merge pull request #1321 from tscuite/main
Browse files Browse the repository at this point in the history
feat: add beta
  • Loading branch information
tscuite authored Mar 10, 2023
2 parents b082d68 + 5276457 commit dcbc992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/docker-compose/dtctl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function network() {
get_latest_image_tag_from_dockerhub() {
image="$1"
Info "start to get latest tag of $image"
tags=`curl -s -S "https://registry.hub.docker.com/v2/repositories/${image}/tags" | sed -e 's/,/,\n/g' -e 's/\[/\[\n/g' | grep '"name"' | awk -F\" '{print $4;}' | sort -rfu | sed -n '2p'`
tags=`curl -s -S "https://registry.hub.docker.com/v2/repositories/${image}/tags" | sed -e 's/,/,\n/g' -e 's/\[/\[\n/g' | grep '"name"' | awk -F\" '{print $4;}' | sort -rfu | grep -v beta | sed -n '2p'`

if [ -n "$2" ]
then
Expand Down

0 comments on commit dcbc992

Please sign in to comment.