with docker dind
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2022-08-13 12:21:31 +02:00
parent 8b32de2432
commit d4eacd3eef
2 changed files with 29 additions and 8 deletions

View File

@@ -32,18 +32,38 @@ steps:
- ls $HOME/.ssh/
- cat $HOME/.ssh/id_ed25519
# - name: build
# 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:
# CI_WORKSPACE: "/drone/src"
# DOCKER_BUILDKIT: 1
# DOCKER_USERNAME:
# from_secret: docker_username
# DOCKER_PASSWORD:
# from_secret: docker_password
# depends_on:
# - "load_secret"
# - "server"
- name: build
image: quay.io/testcontainers/dind-drone-plugin
settings:
build_image: kasperhermansen/cuddle:latest
cmd: sleep 3 && cuddle_cli x build_cuddle_image
image: kasperhermansen/cuddle:latest
volumes:
- name: ssh
path: /root/.ssh/
- name: dockersock
path: /var/run
commands:
- sleep 5
- cuddle x build_cuddle_image
environment:
CI_WORKSPACE: "/drone/src"
DOCKER_BUILDKIT: 1
DOCKER_USERNAME:
from_secret: docker_username