with volume
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
Kasper Juul Hermansen 2022-08-12 01:41:49 +02:00
parent 198979d282
commit 329d846f93
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -19,6 +19,9 @@ steps:
# cache_from: kasperhermansen/cuddle:latest # cache_from: kasperhermansen/cuddle:latest
- name: load_secret - name: load_secret
image: debian:buster-slim image: debian:buster-slim
volumes:
- name: ssh
path: $HOME/.ssh/
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: gitea_id_ed25519 from_secret: gitea_id_ed25519
@ -30,6 +33,9 @@ steps:
- name: build - name: build
image: kasperhermansen/cuddle:latest image: kasperhermansen/cuddle:latest
volumes:
- name: ssh
path: $HOME/.ssh/
environment: environment:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
DOCKER_USERNAME: DOCKER_USERNAME:
@ -51,3 +57,7 @@ steps:
format: markdown format: markdown
when: when:
status: [failure] status: [failure]
volumes:
- name: ssh
temp: {}