The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Self-hosted runner ECR OIDC/ApiKeys Queued

Roberto Silva
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!
November 16, 2022

Good morning,

 

I'm having a problem when I try to setup a build step on a self hosted runner running on docker.

I'm trying to pull an ECR image from my aws account with:

image:
name: XXXX.dkr.ecr.eu-central-1.amazonaws.com/image:version
aws:
  access-key: $AWS_ACCESS_KEY
  secret-key: $AWS_SECRET_KEY
but the job remains queued and is not executed.
It also happens with OIDC setup:

image:
name: XXXX.dkr.ecr.eu-central-1.amazonaws.com/image:version
aws:
   oidc-role: $AWS_OIDC_ROLE_ARN
If i change the image to a public one, it works without problem on the self-hosted runner.
Is there any bug with this setup?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

Hi @Roberto Silva,

Welcome to the community.

Would you be able to confirm if the private image is accessible locally?
Also, could you confirm as well if Bitbucket Cloud Pipelines is allowed to pull the image?

Regards,
Mark C

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events