Add '.drone.yml'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
a0d7ee3194
commit
81cc53974d
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: clone-friendly-captcha
|
||||||
|
image: bitnami/git:latest
|
||||||
|
commands:
|
||||||
|
- git clone https://github.com/FriendlyCaptcha/friendly-lite-server.git
|
||||||
|
- cd friendly-lite-server
|
||||||
|
- git checkout v0.2.1
|
||||||
|
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
dockerfile: friendly-lite-server/Dockerfile
|
||||||
|
context: friendly-lite-server
|
||||||
|
repo: bunix42/docker-friendly-lite-server
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
tags:
|
||||||
|
- v0.2.1
|
||||||
|
|
||||||
|
- name: slack
|
||||||
|
image: plugins/slack
|
||||||
|
settings:
|
||||||
|
webhook:
|
||||||
|
from_secret: slack_webhook
|
||||||
|
channel: drone
|
||||||
|
username: drone
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
Loading…
Reference in New Issue