mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 22:42:40 +01:00
@@ -38,6 +38,8 @@ get_latest() {
|
||||
dir="golang-softhsm2"
|
||||
elif [[ "$dir" == "bazel" ]]; then
|
||||
dir="gitiles"
|
||||
elif [[ "$dir" == "zookeeper" ]]; then
|
||||
dir="zookeeper/3.5"
|
||||
elif [[ "$dir" == "oauth2_proxy" ]]; then
|
||||
dir="oauth2-proxy"
|
||||
fi
|
||||
@@ -47,9 +49,8 @@ get_latest() {
|
||||
if [[ "$tag" =~ "$current" ]] || [[ "$name" =~ "$current" ]] || [[ "$current" =~ "$tag" ]] || [[ "$current" == "master" ]]; then
|
||||
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
|
||||
else
|
||||
if [[ "$dir" != "zookeeper" ]]; then
|
||||
bad_versions+=( "${dir}" )
|
||||
fi
|
||||
# add to the bad versions
|
||||
bad_versions+=( "${dir}" )
|
||||
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | https://github.com/${repo}/releases"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user