builder/.drone.yml
sneak 8d7c40edcb
All checks were successful
continuous-integration/drone/push Build is passing
networkmode bridge required for working dns :(
2022-12-08 23:50:38 +04:00

29 lines
654 B
YAML

# 345678911234567892123456789312345678941234567895123456789612345678971234567898
kind: pipeline
name: build-and-upload
steps:
- name: build-and-push
image: plugins/docker
environment:
DOCKER_BUILDKIT: 1
network_mode: bridge
settings:
repo: sneak/builder
custom_dns: [116.202.204.30]
tags:
- ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH}
- latest
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_TOKEN
- name: notify
image: plugins/slack
settings:
webhook:
from_secret: SLACK_WEBHOOK_URL
when:
event: pull_request