diff options
author | Zicklag <zicklag@pop-os.localdomain> | 2019-10-14 16:50:35 -0500 |
---|---|---|
committer | Zicklag <zicklag@katharostech.com> | 2019-11-02 13:39:26 -0500 |
commit | 68d322e1065751e26d2e0a7ec46cef16af6bc3ec (patch) | |
tree | 52c3399bc10e6b2f73aec31104d4e7d94803159a | |
parent | 9ee05c527ffccb7b76ac5dff885d5ee27f260996 (diff) | |
download | roughenough-68d322e1065751e26d2e0a7ec46cef16af6bc3ec.zip |
Add Drone Script For Docker Builds
-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* + |