.
All checks were successful
/ build-docker-image (push) Successful in 51s

This commit is contained in:
2025-09-21 16:15:15 +01:00
parent 886cbb292f
commit 94b800d819
2 changed files with 3 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ services:
- BORG_REPO="${BORG_REPO}" - BORG_REPO="${BORG_REPO}"
- BORG_RSH="${BORG_REPO}" - BORG_RSH="${BORG_REPO}"
- BORG_PASSPHRASE="${BORG_PASSPHRASE}" - BORG_PASSPHRASE="${BORG_PASSPHRASE}"
- MODE=SCRIPT # Valid modes are: BORG, SCRIPT, SHELL, default is BORG - MODE=SHELL # Valid modes are: BORG, SCRIPT, SHELL, default is BORG
command: "${CONTAINER_COMMAND:-list}" command: "ls -lah"
configs: configs:
# - source: backup_script # - source: backup_script
# target: /app/backup-scripts/run # target: /app/backup-scripts/run

View File

@@ -17,7 +17,7 @@ case "$MODE" in
exit 1 exit 1
fi fi
echo "Executing: backup script with arguments: "\${@:1\"." echo "Executing: backup script with arguments: "\${@:1\"."
cd /app/backup-scripts && bash backup "${@:1}" cd /app/backup-scripts && bash backup \"${@:1}"
;; ;;
SHELL) SHELL)