pidgin/nest
Clone
Summary
Browse
Changes
Graph
Add some more stuff to the cicd plan
2019-01-31, Gary Kramlich
d000f1f9c9e2
Parents
0b3fbd73b2c9
Children
04ac25cbc1a6
Add some more stuff to the cicd plan
1 files changed, 13 insertions(+), 2 deletions(-)
+13
-2
convey.yml
--- a/convey.yml Thu Jan 31 20:40:04 2019 -0600
+++ b/convey.yml Thu Jan 31 20:44:41 2019 -0600
@@ -13,11 +13,17 @@
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:
@@ -28,6 +34,11 @@
- tasks: [push]
cicd:
stages:
- - tasks: [import, build]
- - tasks: [login, push]
+ - name: build
+ tasks: [import, build]
+ - name: publish
+ tasks: [login, push]
+ - name: cleanup
+ tasks: [logout, clean]
+ run: always