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
|
- cat $HOME/.ssh/id_ed25519
|
||||||
|
|
||||||
- name: build
|
- 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:
|
volumes:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
path: /root/.ssh/
|
path: /root/.ssh/
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
DOCKER_USERNAME:
|
DOCKER_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
|
||||||
- cuddle_cli x build_cuddle_image
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- "load_secret"
|
- "load_secret"
|
||||||
|
|
||||||
@ -58,6 +62,16 @@ steps:
|
|||||||
when:
|
when:
|
||||||
status: [failure]
|
status: [failure]
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: docker
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
temp: {}
|
temp: {}
|
||||||
|
- name: dockersock
|
||||||
|
temp: {}
|
||||||
|
Loading…
Reference in New Issue
Block a user