dagger-drone-test/.drone.yml
kjuulh 8472cac579
Some checks reported errors
continuous-integration/drone/push Build encountered an error
with tag
2022-10-29 00:01:01 +02:00

40 lines
811 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:${DRONE_COMMIT} .
- name: "run-pipeline"
image: dagger-test-builder:${DRONE_COMMIT}
volumes:
- name: dockersock
path: /var/run
environment:
DOCKER_BUILDKIT: 1
depends_on:
- "build"
commands:
- "./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: {}