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