From 747bb1968861d2835529058cbc45be785010df1b Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 13 Nov 2020 17:04:02 +0100 Subject: [PATCH] add publish --- infrastrucure/docker/build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infrastrucure/docker/build.py b/infrastrucure/docker/build.py index e603c1c..a220a9a 100644 --- a/infrastrucure/docker/build.py +++ b/infrastrucure/docker/build.py @@ -37,3 +37,9 @@ def drun(project): def test(project): build = get_devops_build(project) build.test() + +@task +def publish(project): + build = get_devops_build(project) + build.dockerhub_login() + build.dockerhub_publish()