From 857e14a6f06e68c266fa016d9a48fb8630d92221 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 30 Mar 2024 02:12:17 +0100 Subject: [PATCH] feat: use template Signed-off-by: kjuulh --- .drone.yml | 125 +---------------------------------------------------- 1 file changed, 2 insertions(+), 123 deletions(-) diff --git a/.drone.yml b/.drone.yml index a35ba51..e62fc75 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,124 +1,3 @@ -kind: pipeline -name: default -type: docker +kind: template +load: cuddle-rust-cli-plan.yaml -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 <