Simple repo to test DroneCI pipelines
Add your project into Cloud Drone https://cloud.drone.io
http://plugins.drone.io/drone-plugins/drone-docker/
https://hub.docker.com/r/twogghub/go-droneci
- name: publish
image: plugins/docker
settings:
...
repo: {your_user}/{your_repo}
tags:
- latest
https://cloud.drone.io/{your_user}/{your_repo}/settings
- name: publish
...
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
...
http://plugins.drone.io/drillster/drone-email/
- name: notify
image: drillster/drone-email
settings:
host: smtp
...
when:
status: [ changed, success ]
services:
- name: smtp
image: catatnight/postfix
environment:
ports: 25
...
docker run --rm -p 8282:8080 --name testing twogghub/go-droneci:latest
localhost:8282
https://www.katacoda.com/courses/cicd/build-docker-images-drone
Configure and run the Drone server in single-machine mode.
https://docs.drone.io/installation/github/single-machine/
Configure #notify# step to send an email when sny step fails.
http://plugins.drone.io/drillster/drone-email/