diff --git a/.cuddle/base b/.cuddle/base new file mode 160000 index 0000000..05f98ce --- /dev/null +++ b/.cuddle/base @@ -0,0 +1 @@ +Subproject commit 05f98cea655ee5c26ad81a085386987c3d84af10 diff --git a/.cuddle/tmp/cuddle-node-service-plan.yaml b/.cuddle/tmp/cuddle-node-service-plan.yaml new file mode 100644 index 0000000..27ae01a --- /dev/null +++ b/.cuddle/tmp/cuddle-node-service-plan.yaml @@ -0,0 +1,134 @@ +kind: pipeline +name: cuddle-node-service-plan +type: docker + +steps: + - name: load_secret + image: debian:buster-slim + volumes: + - name: ssh + path: /root/.ssh/ + environment: + SSH_KEY: + from_secret: gitea_id_ed25519 + commands: + - mkdir -p $HOME/.ssh/ + - echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519 + - chmod -R 600 ~/.ssh + - | + cat >$HOME/.ssh/config <