dagger-drone-test/.drone.yml
kjuulh 3066e29a96
Some checks failed
continuous-integration/drone/push Build is failing
trying with dind
2022-10-28 23:51:49 +02:00

34 lines
724 B
YAML

type: docker
kind: pipeline
name: "drone-dagger-test"
steps:
- name: "build"
image: harbor.front.kjuulh.io/docker-proxy/library/docker:dind
environment:
DOCKER_BUILDKIT: 1
commands:
- "sleep 5"
- docker build -t dagger-test-builder .
- name: "run-pipeline"
image: harbor.front.kjuulh.io/docker-proxy/library/docker:dind
environment:
DOCKER_BUILDKIT: 1
depends_on:
- "build"
commands:
- "docker run dagger-test-builder ./dagger 'https://github.com/kpenfound/greetings-api.git'"
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}