Jerry Flood | ffab4f7 | 2017-05-02 16:00:03 -0400 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES =================' |
| 4 | cp $WORKSPACE/docker/* . |
Gary Wu | 6dc53ad | 2018-04-04 12:27:38 -0700 | [diff] [blame] | 5 | docker -D build -t onap/testsuite . |
Jerry Flood | ffab4f7 | 2017-05-02 16:00:03 -0400 | [diff] [blame] | 6 | export REPO="nexus3.onap.org:10003" |
| 7 | for tag in $tags |
| 8 | do |
Gary Wu | 6dc53ad | 2018-04-04 12:27:38 -0700 | [diff] [blame] | 9 | docker tag onap/testsuite:latest $REPO/onap/testsuite:$tag |
| 10 | docker push $REPO/onap/testsuite:$tag |
Jerry Flood | ffab4f7 | 2017-05-02 16:00:03 -0400 | [diff] [blame] | 11 | done |