added docker image and CI/CD (git action) to limbosolutions docker registry

This commit is contained in:
2025-01-12 11:13:34 +00:00
parent 028a7f9984
commit e2de47df01
6 changed files with 91 additions and 0 deletions

19
docker/app/scripts/ffenv Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
echo "checking SSH_ID..."
if [[ "${SSH_ID}" ]]; then
echo "found SSH_ID..."
mkdir -p /root/.ssh
echo "${SSH_ID}" > /root/.ssh/id_rsa
chmod 700 /root/.ssh/id_rsa
fi
echo "checking BORG_KEY..."
if [[ "${BORG_KEY}" ]]; then
echo "found BORG_KEY..."
mkdir -p /root/.config/borg/keys
echo "${BORG_KEY}" > /root/.config/borg/keys/key
fi