Forums

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

Pushing docker images to bitbucket packages hangs up and fails

Liam Quinn
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!
February 19, 2026

I have a simple bitbucket pipeline which pulls a docker container off the net, installs some extra dev tooling into it, and then pushes it to packages to be used by our development team later. See below with redacted information in angle brackets (<>).

 

image: atlassian/default-image:5
pipelines:
  default:
    - step:
        name: docker build
        script:
          - export PATH=/usr/bin:$PATH
          - echo ${DOCKER_TOKEN} | docker login crg.apkg.io --username <my username> --password-stdin
          - docker build -t crg.apkg.io/<image name>:latest .
          - docker push crg.apkg.io/<image name>:latest
        services:
          - docker
        caches:
          - docker

This freezes up and eventually fails with a 500 error after about an hour.

received unexpected HTTP status: 500 Internal Server Error

I know that this isn't a permissions issue as the it's a 500 error and I've already gone around the loop a few times getting the authentication right.

0 answers

Suggest an answer

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

Atlassian Community Events