shuttle-drone-templates/.drone.yml

26 lines
579 B
YAML
Raw Normal View History

2023-04-07 19:32:12 +02:00
type: docker
kind: pipeline
2023-04-07 19:32:55 +02:00
name: "shuttle-drone-templates"
2023-04-07 19:32:12 +02:00
steps:
- name: "build"
image: docker.io/kjuulh/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: {}