I have been following the guide for creating custom pipes. In step 11 it says
There are 2 ways to refer to this pipe in other repositories. In your
bitbucket-pipelines.ymlfile you can:
refer to the docker image directly
acct/repois the Dockerhub account and repo)
refer to a pipe repo hosted on Bitbucket
BB_acct/repois your Bitbucket account and pipe repo)This version of the reference looks in your pipe.yml file to find out where to get the image from.
I have been trying to use option 2 but I keep getting the following error in my pipeline:
It looks like you tried to use a pipe in your bitbucket-pipelines.yml that doesn’t exist. Check the name of the pipe and try again.
I thought it was because my repository was private but making it public did not fix the issue. I ensured my pipe.yml file is in the root of the repository, but that didn't fix it either. Here is an example of how I am trying to call it:
- pipe: my_account/my_repo:1.0
What could be causing the error that I am seeing? Does this only work with Atlassian hosted repositories?
docker://your_account/repo:tag should also work.
But let's define the root cause.
I see the version 1.0 , but it does not comply Step 10 in the doc or is it just an example?
Anyway check the git tag with the version, that you write in pipeline, exists in your repo.
If you made repo public , could you share it for a while? It will be simpler to define the failure reason
Or you can give me read permissions for repo, if it is still fine for you
Or you can provide more information, such as tags of your repo, docker image existing in hub.docker.com publicly
@David Jones It happens, glad if I could help you.
If you want , you can also made your pipe officially available for others (via our pipes page https://bitbucket.org/product/features/pipelines/integrations ) as it is written in the doc! We are happy to new contributors :)
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events