trying another kind of plugin
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-08-12 02:09:23 +02:00
parent 38227fd4ae
commit 61fa5e551e
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

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