-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bill Maxwell
authored and
Craig Jellick
committed
Feb 16, 2019
1 parent
275a9c3
commit 2114dd1
Showing
1 changed file
with
39 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,40 @@ | ||
--- | ||
pipeline: | ||
build: | ||
privileged: true | ||
image: rancher/dapper:1.11.2 | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
commands: | ||
- dapper ci | ||
kind: pipeline | ||
name: default | ||
|
||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: build | ||
pull: default | ||
image: rancher/dapper:v0.4.1 | ||
commands: | ||
- dapper ci | ||
volumes: | ||
- name: docker | ||
path: /var/run/docker.sock | ||
|
||
- name: github_binary_release | ||
image: drone/github-release | ||
settings: | ||
api_key: | ||
from_secret: github_token | ||
checksum: | ||
- sha256 | ||
files: | ||
- "dist/artifacts/*" | ||
when: | ||
instance: | ||
- drone-publish.rancher.io | ||
ref: | ||
- refs/head/master | ||
- refs/tags/* | ||
event: | ||
- tag | ||
|
||
volumes: | ||
- name: docker | ||
host: | ||
path: /var/run/docker.sock |