Commit d75891dc authored by Darren Starr's avatar Darren Starr
Browse files

Troubleshooting build - Set docker repo on maven

parent a5998de2
Pipeline #7829 failed with stages
in 24 minutes and 7 seconds
......@@ -16,8 +16,8 @@ variables:
INTERFACES_CLI: "mvn -DskipTests --batch-mode -f interfaces/pom.xml"
#MULE_ESB_CLI: "mvn -DskipTests -Ddocker.repository=$DOCKER_REPO -Ddocker.push=$DOCKER_PUSH -Ddocker.imagePrefix=melodic-$BRANCH_NAME/ --batch-mode -f mule_esb/pom.xml"
#PROCESS_CLI: "mvn -DskipTests -Ddocker.repository=$DOCKER_REPO -Ddocker.push=$DOCKER_PUSH -Ddocker.imagePrefix=melodic-$BRANCH_NAME/ --batch-mode -f process/pom.xml"
MULE_ESB_CLI: "mvn -DskipTests --batch-mode -f mule_esb/pom.xml"
PROCESS_CLI: "mvn -DskipTests --batch-mode -f process/pom.xml"
MULE_ESB_CLI: "mvn -DskipTests -Ddocker.repository=$DOCKER_REPO --batch-mode -f mule_esb/pom.xml"
PROCESS_CLI: "mvn -DskipTests -Ddocker.repository=$DOCKER_REPO --batch-mode -f process/pom.xml"
DOCKER_DRIVER: overlay
DOCKER_TLS_CERTDIR: "/certs"
......@@ -79,7 +79,7 @@ deploy:mule_esb:
script:
- $DOCKER_CLI $MULE_ESB_CLI -Ddocker.imagePrefix=melodic-$BRANCH_NAME/ clean install
- docker login $DOCKER_REPO -u $K8S_SECRET_DOCKER_USER -p $K8S_SECRET_DOCKER_PASSWORD
- docker push melodic-$BRANCH_NAME/mule:latest
- docker push $DOCKER_REPO/melodic-$BRANCH_NAME/mule:latest
only:
- master
......@@ -91,6 +91,6 @@ deploy:process:
script:
- $DOCKER_CLI $PROCESS_CLI -Ddocker.imagePrefix=melodic-$BRANCH_NAME/ clean install
- docker login $DOCKER_REPO -u $K8S_SECRET_DOCKER_USER -p $K8S_SECRET_DOCKER_PASSWORD
- docker push melodic-$BRANCH_NAME/process:latest
- docker push $DOCKER_REPO/melodic-$BRANCH_NAME/process:latest
only:
- master
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment