From 5d0f161fd2a7ff106b1ab9c131a63c2d8d4bbd0e Mon Sep 17 00:00:00 2001 From: sneak Date: Thu, 8 Dec 2022 22:49:51 +0400 Subject: [PATCH] add ci --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f213b1f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,22 @@ +# 345678911234567892123456789312345678941234567895123456789612345678971234567898 +kind: pipeline +name: build-and-upload + +steps: +- name: build-and-push + image: plugins/docker + network_mode: bridge + settings: + repo: sneak/builder + custom_dns: [ 116.202.204.30 ] + tags: + - ${DRONE_COMMIT_SHA} + - ${DRONE_BRANCH} + - latest +- name: notify + image: plugins/slack + settings: + webhook: + from_secret: SLACK_WEBHOOK_URL + when: + event: pull_request