Last active
October 9, 2019 13:00
-
-
Save tboerger/4cb982e4130352c8a8e48a9dc3128d82 to your computer and use it in GitHub Desktop.
Drone YAML example for Docker runner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: pipeline | |
name: go-1.13 | |
platform: | |
os: linux | |
arch: amd64 | |
steps: | |
- name: test | |
image: golang:1.13 | |
volumes: | |
- name: deps | |
path: /go | |
commands: | |
- go test | |
- name: build | |
image: golang:1.13 | |
volumes: | |
- name: deps | |
path: /go | |
commands: | |
- go build | |
volumes: | |
- name: deps | |
temp: {} | |
--- | |
kind: pipeline | |
name: go-1.12 | |
platform: | |
os: linux | |
arch: amd64 | |
steps: | |
- name: test | |
image: golang:1.12 | |
volumes: | |
- name: deps | |
path: /go | |
commands: | |
- go test | |
- name: build | |
image: golang:1.12 | |
volumes: | |
- name: deps | |
path: /go | |
commands: | |
- go build | |
volumes: | |
- name: deps | |
temp: {} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment