diff --git a/openebs/Makefile b/openebs/Makefile index 5a1945b4098..32903d9fae4 100644 --- a/openebs/Makefile +++ b/openebs/Makefile @@ -26,7 +26,7 @@ push: deploy: @cp openebs-provisioner buildscripts/docker/ - @cd buildscripts/docker && sudo docker build -t ${DIMAGE}:latest . + @cd buildscripts/docker && sudo docker build -t ${DIMAGE}:ci . @sh buildscripts/push clean: diff --git a/openebs/buildscripts/push b/openebs/buildscripts/push index 22d49d29d7c..72aea4db859 100755 --- a/openebs/buildscripts/push +++ b/openebs/buildscripts/push @@ -16,12 +16,12 @@ set -e -IMAGEID=$( sudo docker images -q ${DIMAGE}:latest ) +IMAGEID=$( sudo docker images -q ${DIMAGE}:ci ) if [ ! -z "${DNAME}" ] && [ ! -z "${DPASS}" ]; then sudo docker login -u "${DNAME}" -p "${DPASS}"; - sudo docker push ${DIMAGE}:latest ; + sudo docker push ${DIMAGE}:ci ; if [ ! -z "${TRAVIS_TAG}" ] ; then #Push the release tag image to docker hub repository