add ci
This commit is contained in:
parent
7c5be73c71
commit
5d0f161fd2
|
@ -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
|
Loading…
Reference in New Issue