feat(ssh): add secrets and git files
This commit is contained in:
parent
750aadb458
commit
303d9ad2eb
@ -82,6 +82,10 @@ start_container_if_needed() {
|
||||
--hostname "$WORKSPACE" \
|
||||
--label auto-cleanup=true \
|
||||
-v "${XDG_RUNTIME_DIR}"/podman/podman.sock:/run/podman/podman.sock \
|
||||
-v /home/infilytics/data/"$WORKSPACE":/app \
|
||||
-v /home/infilytics/secrets/"$WORKSPACE"/.gitconfig:/home/"$DEV_USER"/.gitconfig:ro \
|
||||
-v /home/infilytics/secrets/"$WORKSPACE"/id_ed25519:/opt/secure/ssh/id_ed25519:ro \
|
||||
-v /home/infilytics/secrets/"$WORKSPACE"/id_ed25519.pub:/opt/secure/ssh/id_ed25519.pub:ro \
|
||||
--entrypoint "/home/$DEV_USER/start.sh" \
|
||||
"$IMAGE" "${TMUX_SESSION}"
|
||||
elif ! podman inspect -f '{{.State.Running}}' "$WORKSPACE" | grep -q true; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user