mfer/.drone.yml

24 lines
465 B
YAML
Raw Normal View History

2022-02-02 05:36:20 +00:00
kind: pipeline
name: test-docker-build
steps:
- name: test-docker-build
image: plugins/docker
2022-02-02 06:17:13 +00:00
network_mode: bridge
2022-02-02 05:36:20 +00:00
settings:
2022-02-02 06:17:13 +00:00
repo: sneak/mfer
build_args_from_env: [ DRONE_COMMIT_SHA ]
2022-02-02 05:36:20 +00:00
dry_run: true
2022-02-02 06:17:13 +00:00
custom_dns: [ 116.202.204.30 ]
2022-02-02 05:36:20 +00:00
tags:
- ${DRONE_COMMIT_SHA:0:7}
2022-02-02 05:36:20 +00:00
- ${DRONE_BRANCH}
- latest
- name: notify
image: plugins/slack
settings:
webhook:
from_secret: SLACK_WEBHOOK_URL
when:
event: pull_request