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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,749 views 1 5
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