1 2 3 4 5 6 7 8 9 10
#!/bin/bash DOCKER_REPOSITORY="nexus3.openecomp.org:10003" SEARCH="aai-service"; if [[ $PROJECT =~ $SEARCH ]] ; then docker push $DOCKER_REPOSITORY/openecomp/ajsc-aai:latest; else docker push $DOCKER_REPOSITORY/openecomp/model-loader:latest; fi