mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-09-30 03:08:09 +00:00
31 lines
356 B
YAML
31 lines
356 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: sock
|
||
|
host:
|
||
|
path: /var/run/docker.sock
|
||
|
|
||
|
depends_on:
|
||
|
- foo
|
||
|
- bar
|