[Bug]: Codeberg repo failed to push image to docker registry.
Author: HeapReaperCreated Sep 17, 2026Updated Sep 17, 2026
Labels🔍 Triage
Description and Error Message
So i tried out CodeBerg as Git. Now i have 3 servers (i have more but 3 are for this bug):
- Coolify Frontend
- Coolify Docker Build
- Coolify Kelvin node
I've created a access token on CodeBerg with read/write on every permission.
On every server i used docker login codeberg.org with the access token.
On all three servers i ran the following in the CLI to test the Docker registry:
- docker pull alpine:latest
- docker tag alpine:latest codeberg.org/heapreaper/rc-garage-nl:test
- docker push codeberg.org/heapreaper/rc-garage-nl:test Which ran succesfully on all three servers.
But when i deploy in Coolify, i get:
2026-Sep-17 18:55:35 Found a suitable build server (Docker Build).
2026-Sep-17 18:55:36 Docker 29.8.0 with BuildKit and Buildx detected on build server (Docker Build).
2026-Sep-17 18:55:37 Starting deployment of https://codeberg.org/HeapReaper/rc-garage-nl.git:main to Coolify Kelvin Node.
2026-Sep-17 18:55:37 Preparing container with helper image: docker.io/coollabsio/coolify-helper:1.0.17
2026-Sep-17 18:55:39 ----------------------------------------
2026-Sep-17 18:55:39 Importing https://codeberg.org/HeapReaper/rc-garage-nl.git:main (commit sha 836b434eccfd930c23aba10f376cedc1d7483a24) to /artifacts/mmuwitanfuesu8dzswqrkf8k.
2026-Sep-17 18:55:41 Build configuration changed. Rebuilding image.
2026-Sep-17 18:55:44 ----------------------------------------
2026-Sep-17 18:55:44 Building docker image started.
2026-Sep-17 18:55:44 To check the current progress, click on Show Debug Logs.
2026-Sep-17 18:56:18 Building docker image completed.
2026-Sep-17 18:56:19 ----------------------------------------
2026-Sep-17 18:56:19 Pushing image to docker registry (codeberg.org/heapreaper/rc-garage-nl:836b434eccfd930c23aba10f376cedc1d7483a24).
2026-Sep-17 18:56:19 Failed to push image to docker registry. Please check debug logs for more information.
2026-Sep-17 18:56:19 ========================================
2026-Sep-17 18:56:19 Deployment failed: App\Exceptions\DeploymentException: Command execution failed (exit code 1): docker exec mmuwitanfuesu8dzswqrkf8k bash -c 'docker push codeberg.org/heapreaper/rc-garage-nl:836b434eccfd930c23aba10f376cedc1d7483a24'
2026-Sep-17 18:56:19 Error: unauthorized: reqPackageAccess
I used as image: codeberg.org/heapreaper/rc-garage-nl and leaved Tag as is (empty)
Expected Behavior
- Deploy new application
- Builds on the build server
- Pushes image to the registry
- Deploys new application on the hosting server
Steps to Reproduce
- Create a new project with public GIT
- Configure Image (
codeberg.org/heapreaper/rc-garage-nl) - Set Builder to Available Build Server
- Deploy
Example Repository URL
https://codeberg.org/HeapReaper/rc-garage-nl
Coolify Version
v4.3.21
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 26.04
Screenshots / Visuals
No response
Additional Information
No response
Source: coollabsio/coolify