diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2018-04-25 09:33:11 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2018-04-25 11:22:03 +0000 |
commit | a2e836c4ecb947b9579eaf63caf9b64b81a46e44 (patch) | |
tree | af4580f0af00f70ca48bd3301466729a565aaa5e /leg-kolla | |
parent | a87042dc61713bca9dd47844b483726e9cd4ba15 (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.sh | 5 |
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 |