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
|
2022-12-09 00:02:33 +00:00
|
|
|
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:
|
2022-12-09 00:02:33 +00:00
|
|
|
- ${DRONE_COMMIT_SHA:0:7}
|
2022-02-02 05:36:20 +00:00
|
|
|
- ${DRONE_BRANCH}
|
2022-12-09 00:02:33 +00:00
|
|
|
- latest
|
|
|
|
- name: notify
|
|
|
|
image: plugins/slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: SLACK_WEBHOOK_URL
|
|
|
|
when:
|
|
|
|
event: pull_request
|