borg container image feature/review-docker: pipelines and scripts revisions #1

Merged
marcio.fernandes merged 10 commits from feature/review-docker into main 2025-09-21 19:23:38 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 94b800d819 - Show all commits

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)