Compare commits

...

3 commits

4 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@ name: Build and push testing image
on:
schedule:
- cron: '0 1 * * *'
- cron: '15 4 * * *'
workflow_dispatch:
env:

View file

@ -2,7 +2,7 @@ name: Build and push dev image
on:
schedule:
- cron: '0 1 * * *'
- cron: '15 4 * * *'
workflow_dispatch:
env:

View file

@ -34,7 +34,7 @@ It is hightly based on work from [darknao](https://github.com/darknao/docker-dot
* Dotclear docker images are available at [Docker hub](https://hub.docker.com/r/jcpd/docker-dotclear) or [Github registry](https://github.com/JcDenis/docker-dotclear/pkgs/container/docker-dotclear)
* Dotclear docker sources are available at [Github repository](https://github.com/JcDenis/docker-dotclear)
* Dotclear docker helps (french) are available [at Doclear Watch Blog](https://docker.dotclear.watch)
* Dotclear docker helps (french) are available at [Doclear Watch Blog](https://docker.dotclear.watch)
### 3.1 TAGS

View file

@ -69,8 +69,9 @@ if [ "$DC_DOCKER_CANAL" == "stable" ]; then
echo >&2 "Disabling Dotclear DEBUG mode"
sed -i -e "s/ \/\/\*== DC_DEBUG ==/ \/\*== DC_DEBUG ==/g" /var/www/dotclear/app/src/Config.php
else
echo >&2 "Enabling Dotclear DEBUG mode"
echo >&2 "Enabling Dotclear DEBUG mode and DEV mode"
sed -i -e "s/ \/\*== DC_DEBUG ==/ \/\/\*== DC_DEBUG ==/g" /var/www/dotclear/app/src/Config.php
sed -i -e "s/'DC_DEV', false/'DC_DEV', true/g" /var/www/dotclear/app/src/Config.php
fi
# Various cleanup. Sorry not sorry.