diff options
Diffstat (limited to 'jjb/include-docker-push.sh')
-rw-r--r-- | jjb/include-docker-push.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/include-docker-push.sh b/jjb/include-docker-push.sh index ec78d9ab1..929b6a25f 100644 --- a/jjb/include-docker-push.sh +++ b/jjb/include-docker-push.sh @@ -6,5 +6,7 @@ SEARCH="aai-service"; if [[ $PROJECT =~ $SEARCH ]] ; then docker push $DOCKER_REPOSITORY/openecomp/ajsc-aai:latest; else - docker push $DOCKER_REPOSITORY/openecomp/model-loader:latest; + # Cut the prefix aai/ in example aai/model-loader + DOCKER_REPO_NAME=$(echo ${PROJECT} | cut -d"/" -f2-); + docker push $DOCKER_REPOSITORY/openecomp/${DOCKER_REPO_NAME}:latest; fi |