mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-05 19:10:38 +00:00
39 lines
423 B
Plaintext
39 lines
423 B
Plaintext
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
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
|
|
|
|
...
|