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: {}