aboutsummaryrefslogtreecommitdiffstats
path: root/deployments
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-03-12 16:28:53 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-03-12 16:42:53 -0700
commit2b01f6d7ddd29836ed9ce3f104c891317e89f5bd (patch)
tree2354770bca0a03dfb35641ecff825f5db658d0fa /deployments
parent98e83cc404987387466721aedca3fc6c97cab40b (diff)
Push latest tag
Push latest tag during the nightly docker build along with the snapshot version that we already push Issue-ID: MULTICLOUD-526 Change-Id: Ifb5e27c8d86577e54d5dad9ce1d8320b422fec62 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'deployments')
-rwxr-xr-xdeployments/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/deployments/build.sh b/deployments/build.sh
index f7deb547..f40542eb 100755
--- a/deployments/build.sh
+++ b/deployments/build.sh
@@ -50,6 +50,7 @@ function _push_image {
local tag_name=${IMAGE_NAME}:${1:-latest}
echo "Start push {$tag_name}"
+ docker push ${IMAGE_NAME}:latest
docker tag ${IMAGE_NAME}:latest ${tag_name}
docker push ${tag_name}
}