pidgin/nest

Add a convey plan for ci/cd

2019-01-31, Gary Kramlich
0b3fbd73b2c9
Add a convey plan for ci/cd
environment:
- REPO=pidgin/nest
- TAG=latest
tasks:
import:
type: docker/import
files: .:.
build:
type: docker/build
dockerfile: Dockerfile
tag: ${REPO}:${TAG}
files: .
push:
type: docker/push
image: ${REPO}:${TAG}
login:
type: docker/login
username: ${DOCKERHUB_USERNAME}
password: ${DOCKERHUB_PASSWORD}
server: docker.io
plans:
default:
stages:
- tasks: [import, build]
publish:
stages:
- tasks: [push]
cicd:
stages:
- tasks: [import, build]
- tasks: [login, push]