feat: with .drone.yml
This commit is contained in:
25
templates/shuttle-template.yaml
Normal file
25
templates/shuttle-template.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
type: docker
|
||||
kind: pipeline
|
||||
name: "drone-dagger-test"
|
||||
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: {}
|
Reference in New Issue
Block a user