Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use container in Bitbucket Packages in another project/repository

Laurens Blankers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 19, 2026

I have a project called CI/CD Support with a repository php-composer which has a pipeline which produces a Docker/OCI image which is pushed to Bitbucket Packages. Now I would like to use that image in the Pipeline of another repository (in another project but in the same workspace). 

Unfortunately $BITBUCKET_PACKAGES_TOKEN is scoped to the repository in which the pipeline runs.

How do I access an image on crg.apkg.io which is owned by another repository/project from a Bitbucket Pipeline?

1 answer

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 20, 2026

Hi @Laurens Blankers 

Right now - there's no workspace-scoped token for packages, unfortunately. We have a feature request raised with our developers for this functionality:

As an interim workaround - you may instead use a personal API token and store it as a workspace/repository variable and authenticate with that instead in the pipeline using the read:package:bitbucket scope:

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

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

Atlassian Community Events