aboutsummaryrefslogtreecommitdiff
path: root/leg-kolla
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2018-04-25 09:33:11 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2018-04-25 11:22:03 +0000
commita2e836c4ecb947b9579eaf63caf9b64b81a46e44 (patch)
treeaf4580f0af00f70ca48bd3301466729a565aaa5e /leg-kolla
parenta87042dc61713bca9dd47844b483726e9cd4ba15 (diff)
leg-kolla*: push images
We decided to not use push functionality of Kolla as it gave us some broken builds in past (if one important image failed to build we still had several other on hub.docker.com). Instead we do build of all requested images and then push them. So if build fails then nothing gets pushed. Change-Id: I78bc25ba54bb7b394e8714bd9ca8e7def4558915
Diffstat (limited to 'leg-kolla')
-rw-r--r--leg-kolla/build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/leg-kolla/build.sh b/leg-kolla/build.sh
index 3756b26c..2fb7d046 100644
--- a/leg-kolla/build.sh
+++ b/leg-kolla/build.sh
@@ -72,3 +72,8 @@ kolla_namespace=linaro
--tag ${kolla_tag} \
--type source \
--namespace ${kolla_namespace}
+
+for image in $(docker images | grep ${kolla_tag} | cut -d" " -f1)
+do
+ docker push $image
+done