1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash # echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES =================' cp $WORKSPACE/docker/* . docker -D build -t openecomp/testsuite . export REPO="nexus3.onap.org:10003" for tag in $tags do docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:$tag docker push $REPO/openecomp/testsuite:$tag done