This commit is contained in:
iouAkira
2020-12-11 14:59:20 +08:00
parent bdcb7a4fbe
commit d758d184bd
2 changed files with 3 additions and 3 deletions

View File

@@ -22,10 +22,8 @@ function version_gt() {
}
######################################对比版本版本号大小方法-end###################################################################
if [ ! $BUILD_VERSION ]; then
fi
#######################################通知用户更新镜像-start#####################################################################
echo "检查docker镜像更新更新..."
if type jq >/dev/null 2>&1; then
updateContext=$(getDockerImageLabel jq .UPDATE_CONTEXT)
export NOTIFY_CONTEXT=$updateContext

View File

@@ -34,6 +34,8 @@ function version_gt() {
######################################对比版本版本号大小方法-end###################################################################
#######################################通知用户更新镜像-start#####################################################################
echo "check docker images update..."
echo "检查docker镜像更新更新..."
if type jq >/dev/null 2>&1; then
updateContext=$(getDockerImageLabel jq .UPDATE_CONTEXT)
export NOTIFY_CONTEXT=$updateContext