This commit is contained in:
parent
e63d1d9e48
commit
b970f90af6
42
.drone.yml
42
.drone.yml
@ -3,22 +3,26 @@ kind: pipeline
|
|||||||
name: build-and-upload
|
name: build-and-upload
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
settings:
|
settings:
|
||||||
repo: sneak/builder
|
repo: sneak/builder
|
||||||
custom_dns: [ 116.202.204.30 ]
|
custom_dns: [116.202.204.30]
|
||||||
tags:
|
tags:
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA}
|
||||||
- ${DRONE_BRANCH}
|
- ${DRONE_BRANCH}
|
||||||
- latest
|
- latest
|
||||||
- name: notify
|
username:
|
||||||
image: plugins/slack
|
from_secret: DOCKER_USERNAME
|
||||||
settings:
|
password:
|
||||||
webhook:
|
from_secret: DOCKER_TOKEN
|
||||||
from_secret: SLACK_WEBHOOK_URL
|
- name: notify
|
||||||
when:
|
image: plugins/slack
|
||||||
event: pull_request
|
settings:
|
||||||
|
webhook:
|
||||||
|
from_secret: SLACK_WEBHOOK_URL
|
||||||
|
when:
|
||||||
|
event: pull_request
|
||||||
|
Loading…
Reference in New Issue
Block a user