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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

70 views 2 3
Join discussion

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