Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,881
Community Members
 
Community Events
184
Community Groups

IS it possible to store a bitbucket pipe on a private GCP artifact/container repository

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. 

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 17, 2022

Hi @Ricardo Paquito

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events