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 ErrorI 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.