mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-07-01 14:00:52 +02:00
37 lines
398 B
Plaintext
37 lines
398 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: sock
|
||
|
host:
|
||
|
path: /var/run/docker.sock
|
||
|
|
||
|
depends_on:
|
||
|
- foo
|
||
|
- bar
|
||
|
|
||
|
...
|