From 329d846f93117cfd755eaeffe6988dbabea3b273 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 12 Aug 2022 01:41:49 +0200 Subject: [PATCH] with volume --- .drone.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.drone.yml b/.drone.yml index b16e0ff..f279bc1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,6 +19,9 @@ steps: # cache_from: kasperhermansen/cuddle:latest - name: load_secret image: debian:buster-slim + volumes: + - name: ssh + path: $HOME/.ssh/ environment: SSH_KEY: from_secret: gitea_id_ed25519 @@ -30,6 +33,9 @@ steps: - name: build image: kasperhermansen/cuddle:latest + volumes: + - name: ssh + path: $HOME/.ssh/ environment: DOCKER_BUILDKIT: 1 DOCKER_USERNAME: @@ -51,3 +57,7 @@ steps: format: markdown when: status: [failure] + +volumes: + - name: ssh + temp: {}