dagger-drone-test/.drone.yml
kjuulh 5a44f0ec13
All checks were successful
continuous-integration/drone/push Build is passing
with volume mount
2022-10-28 23:52:56 +02:00

40 lines
846 B
YAML

type: docker
kind: pipeline
name: "drone-dagger-test"
steps:
- name: "build"
image: harbor.front.kjuulh.io/docker-proxy/library/docker:dind
volumes:
- name: dockersock
path: /var/run
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
volumes:
- name: dockersock
path: /var/run
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: {}