shuttle-drone-templates/.drone.yml
kjuulh 604f8160c6
Some checks reported errors
continuous-integration/drone/push Build encountered an error
feat: with kasperhermansen
2023-04-07 19:35:32 +02:00

26 lines
585 B
YAML

type: docker
kind: pipeline
name: "shuttle-drone-templates"
steps:
- name: "build"
image: docker.io/kasperhermansen/shuttle-drone
volumes:
- name: dockersock
path: /var/run
environment:
DOCKER_BUILDKIT: 1
commands:
- sleep 5
- echo "${DOCKER_PASSWORD}" | docker login --password-stdin --username="${DOCKER_USERNAME}" "${DOCKER_HOST}"
- shuttle run build
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}