mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 19:10:40 +00:00
33 lines
381 B
YAML
33 lines
381 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: compile
|
|
image: golang
|
|
commands:
|
|
- go test
|
|
- go build
|
|
|
|
- name: build
|
|
image: docker
|
|
commands:
|
|
- docker build .
|
|
volumes:
|
|
- name: sock
|
|
path: /var/run/docker.sock
|
|
|
|
volumes:
|
|
- name: temp
|
|
temp:
|
|
medium: memory
|
|
- name: empty
|
|
temp: {}
|
|
- name: sock
|
|
host:
|
|
path: /var/run/docker.sock
|
|
|
|
depends_on:
|
|
- foo
|
|
- bar
|