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

Troubleshooting build - Roll back and head warnings of -p for password

parent 60686a74
Pipeline #7834 failed with stages
in 24 minutes and 48 seconds
......@@ -80,9 +80,9 @@ deploy:mule_esb:
- $DOCKER_DIND_SERVICE
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
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $DOCKER_REPO -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic-$BRANCH_NAME/mule $DOCKER_REPO/melodic-$BRANCH_NAME/mule
- docker push -u $K8S_SECRET_DOCKER_USER -p $K8S_SECRET_DOCKER_PASSWORD $DOCKER_REPO/melodic-$BRANCH_NAME/mule:latest
- docker push $DOCKER_REPO/melodic-$BRANCH_NAME/mule:latest
only:
- master
......@@ -93,8 +93,8 @@ deploy:process:
- $DOCKER_DIND_SERVICE
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
- echo "$K8S_SECRET_DOCKER_PASSWORD" | docker login $DOCKER_REPO -u $K8S_SECRET_DOCKER_USER --password-stdin
- docker tag $LOCAL_REPO/melodic-$BRANCH_NAME/process $DOCKER_REPO/melodic-$BRANCH_NAME/process
- docker push -u $K8S_SECRET_DOCKER_USER -p $K8S_SECRET_DOCKER_PASSWORD $DOCKER_REPO/melodic-$BRANCH_NAME/process
- docker push $DOCKER_REPO/melodic-$BRANCH_NAME/process
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