Problem docker certificate registry

I am making a pipeline that connects in a docker https registry, the certificate of that domain is valid, but when running the pipeline appears a problem, could someone give me a light how to solve this?

 

 

Pipeline:

(some variables used are global bitbucket)

image: ubuntu:latest
options:
docker: true
pipelines:
default:
- step:
script:
- export PROJECT_NAME="adv-classificador-intimacoes-app"
- export IMAGE_NAME="$DOCKER_REPOSITORY_SAJADV/$PROJECT_NAME"
- export CONTAINER_NAME="${PROJECT_NAME}_${BRANCH}"
- docker login -u $DOCKER_USER_NAME -p $DOCKER_USER_PASS $DOCKER_REGISTRY
- docker build -t $IMAGE_NAME:$DOCKER_TAG_LATEST $BITBUCKET_CLONE_DIR || exit 1
- docker run --privileged -d -P --name $CONTAINER_NAME -e DB_ADV_PASSWORD=1 -e DB_ADV_USERNAME=1 -e DB_ADV_HOST=1 -e DB_ADV_NAME=1 -e REPOSITORY_MOCK=True $IMAGE_NAME:$DOCKER_TAG_LATEST
- docker push $IMAGE_NAME:$DOCKER_TAG_LATEST

 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,338 views 9 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you