diff options
author | Stuart Stock <stuart@int08h.com> | 2019-11-03 09:58:50 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 09:58:50 -0600 |
commit | 497793f3428130581fbb216ec818dcd7d84bad38 (patch) | |
tree | 5403f64ca75887a55a959094d6f658ad0caccc0c | |
parent | 6f2090c25ddaa796cb966c8c0308e79c4f6b402f (diff) | |
parent | 68d322e1065751e26d2e0a7ec46cef16af6bc3ec (diff) | |
download | roughenough-497793f3428130581fbb216ec818dcd7d84bad38.zip |
Merge pull request #22 from katharostech/drone-docker-builds
Add Drone Script For Docker Builds, thanks to @zicklag
-rw-r--r-- | .drone.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..6b2ff2c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +--- +kind: pipeline +name: build + +steps: + # Make sure image builds + - name: build + image: plugins/docker + +trigger: + ref: + exclude: + - refs/tags/v* + +--- +kind: pipeline +name: release + +steps: + # Release image to DockerHub + - name: release + image: plugins/docker + settings: + repo: int08h/roughenough + tags: + - ${DRONE_TAG} + username: + from_secret: docker-username + password: + from_secret: docker-password + when: + ref: + - refs/tags/v* + +trigger: + event: + - tag + ref: + - refs/tags/v* + |