You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am creating some bitbucket pipes to reuse on multiple projects but I would like them to be stored on a private container repository, in this case on GCP.
Is this something that is possible to do that and if so, where can I find some example.
Welcome to the community.
Unfortunately, it is not possible to create custom Pipes from a different repository outside Bitbucket Cloud. - https://support.atlassian.com/bitbucket-cloud/docs/write-a-pipe-for-bitbucket-pipelines/
For the Docker image, it has to be public at the moment.
However, we do have an existing feature request for it to support private Docker images that can be located through this link. - jira.atlassian.com/browse/BCLOUD-18270
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud. Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.
Do let me know if you have further questions.
Regards,
Mark C
Thanks for the reply @Mark C . I am actually able to use private images stored on the GCP Artifact Registry using the following approach. I'm using the "complete" approach from the "How to create a pipe" instructions page and for now it's working. I leave the example here :
- step: &pipetest
name: Pipe test
image: google/cloud-sdk:alpine
script:
- echo $GCLOUD_API_KEY_JSON > ./gcloud-api-key.json
- gcloud auth activate-service-account --key-file gcloud-api-key.json
- gcloud auth configure-docker <GCP-REGION>-docker.pkg.dev
- pipe: companyName/private-pipe-poc:1.0
variables:
TEMP_VAR: "someValue"
Nevertheless I'll keep an eye on that JIRA ticket that you have mentioned as for sure that I will jump to that solution when released.
Thanks again for the reply.
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.