Is it possible to create a private Pipeline Pipe - one which would be pushed to private, password protected container registry .
Hi @Sławomir Wdówka ,
Yes its possible.
Example pushing to Docker hub:
image: maven:3.3.9
pipelines:
default:
- step:
caches:
- maven
script:
- mvn -B clean package
artifacts:
- target/sample-app-*.jar
- step:
name: Deploy to test
deployment: test
script:
- echo "Deploying to test environment"
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker build -t company/sample-maven:$BITBUCKET_BRANCH .
- docker push company/sample-maven:$BITBUCKET_BRANCH
options:
docker: true
Hi @Edwin Kyalangalilwa
Sorry, I wasn't clear enough. I was trying to ask whether the new Piepes ( https://confluence.atlassian.com/bitbucket/how-to-make-a-pipe-for-pipelines-966051288.html ) can be also used if pipe's docker image is in a private container registry.
All examples I've seen are related to public DockerHub repos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.