fixed docker compose build policy

This commit is contained in:
Moritz
2025-08-24 20:34:01 +02:00
parent 507b9bf5a7
commit c758c236f1
3 changed files with 6 additions and 6 deletions

View File

@@ -27,15 +27,15 @@ else
echo "[i] No update of the deploy repository available"
fi
if [ "$MOONLIGHT_BUILD" == "build" ]; then
if [ "$MOONLIGHT_PULL_POLICY" == "build" ]; then
echo "[i] Rebuilding the docker image"
docker compose build
echo "[i] Rebuild done"
fi
if [ "$MOONLIGHT_BUILD" == "pull" ]; then
if [ "$MOONLIGHT_PULL_POLICY" == "always" ]; then
echo "[i] Pulling the latest docker image"
docker compose build
docker compose pull
echo "[i] Pulling completed"
fi