pidgin/nest
Clone
Summary
Browse
Changes
Graph
Add some more stuff to the cicd plan
2019-01-31, Gary Kramlich
d000f1f9c9e2
Add some more stuff to the cicd plan
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}
clean
:
type
:
docker/remove
image
:
${REPO}:${TAG}
login
:
type
:
docker/login
username
:
${DOCKERHUB_USERNAME}
password
:
${DOCKERHUB_PASSWORD}
server
:
docker.io
logout
:
type
:
docker/logout
server
:
docker.io
plans
:
default
:
stages
:
-
tasks
:
[
import
,
build
]
publish
:
stages
:
-
tasks
:
[
push
]
cicd
:
stages
:
-
name
:
build
tasks
:
[
import
,
build
]
-
name
:
publish
tasks
:
[
login
,
push
]
-
name
:
cleanup
tasks
:
[
logout
,
clean
]
run
:
always