Skip to content

Commit

Permalink
test docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 7, 2023
1 parent b8e4c19 commit 0673cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/discuz/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# update time: 202312070828
# update time: 202312070831

FROM joomla:php7.4-apache

Expand Down

0 comments on commit 0673cc9

Please sign in to comment.