diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9ab125b6f..3622325b3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -42,7 +42,7 @@ jobs: for APP in "${APP_LISTS[@]}"; do TAG=$(grep 'LABEL version' "apps/$APP/Dockerfile" | cut -d'"' -f2 | xargs) echo $APP version is $TAG - IFS='.' read -ra PARTS <<< "$TAG"; TAGS=""; for i in "${!PARTS[@]}"; do if [ "$i" -eq 0 ]; then TAGS+="${PARTS[$i]}"; else TAGS+="${TAGS}.${PARTS[$i]}"; fi; done; + IFS='.' read -ra PARTS <<< "$TAG"; TAGS=""; for i in "${!PARTS[@]}"; do if [ "$i" -eq 0 ]; then TAGS="${PARTS[$i]}"; else TAGS+=",${TAGS}.${PARTS[$i]}"; fi; done; echo $TAG echo "Building and pushing Docker image for $APP with tags: $TAGS" echo "TAGS=$TAGS" >> $GITHUB_ENV echo "APP=$APP" >> $GITHUB_ENV diff --git a/apps/discuz/Dockerfile b/apps/discuz/Dockerfile index 06d02f317..ecb856fc2 100644 --- a/apps/discuz/Dockerfile +++ b/apps/discuz/Dockerfile @@ -1,4 +1,4 @@ -# update time: 202312070828 +# update time: 202312070831 FROM joomla:php7.4-apache