26 lines
538 B
YAML
26 lines
538 B
YAML
|
kind: pipeline
|
||
|
name: test-docker-build
|
||
|
|
||
|
steps:
|
||
|
- name: golangci-lint
|
||
|
image: git.eeqj.de/sneak/drone-golangci-lint:2024-06-01
|
||
|
- name: test-docker-build
|
||
|
image: plugins/docker
|
||
|
network_mode: bridge
|
||
|
settings:
|
||
|
repo: sneak/directory
|
||
|
dry_run: true
|
||
|
tags:
|
||
|
- ${DRONE_COMMIT_SHA}
|
||
|
- ${DRONE_BRANCH}
|
||
|
- name: notify
|
||
|
image: plugins/slack
|
||
|
secrets: [SLACK_WEBHOOK]
|
||
|
settings:
|
||
|
webhook: $SLACK_WEBHOOK
|
||
|
link_names: true
|
||
|
when:
|
||
|
status:
|
||
|
- success
|
||
|
- failure
|