This commit is contained in:
parent
38227fd4ae
commit
61fa5e551e
20
.drone.yml
20
.drone.yml
@ -33,18 +33,22 @@ steps:
|
||||
- cat $HOME/.ssh/id_ed25519
|
||||
|
||||
- name: build
|
||||
image: kasperhermansen/cuddle:latest
|
||||
image: quay.io/testcontainers/dind-drone-plugin
|
||||
settings:
|
||||
build_image: kasperhermansen/cuddle:latest
|
||||
|
||||
cmd: sleep 3 && cuddle_cli x build_cuddle_image
|
||||
volumes:
|
||||
- name: ssh
|
||||
path: /root/.ssh/
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
DOCKER_USERNAME:
|
||||
from_secret: docker_username
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: docker_password
|
||||
commands:
|
||||
- cuddle_cli x build_cuddle_image
|
||||
depends_on:
|
||||
- "load_secret"
|
||||
|
||||
@ -58,6 +62,16 @@ steps:
|
||||
when:
|
||||
status: [failure]
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
volumes:
|
||||
- name: ssh
|
||||
temp: {}
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
|
Loading…
Reference in New Issue
Block a user