Configure REGISTRY_TOKEN with package write permission #1

Closed
opened 2026-05-15 02:45:11 +00:00 by MrSphay · 0 comments
Owner

The WatchLink Docker build now reaches the publish step, but pushing git.wilkensxl.de/mrsphay/watchlink:latest fails with 401 Unauthorized during blob upload.

Observed in Gitea Actions build run:

  • Docker build completes.
  • docker push starts uploading layers.
  • Registry returns 401 Unauthorized for POST https://git.wilkensxl.de/v2/mrsphay/watchlink/blobs/uploads/.

Impact:

  • The repository builds successfully, but the Docker image cannot be published to the Gitea container registry.

Suggested fix:

  • Create or update repository/org secret REGISTRY_TOKEN with package/container write permission for owner MrSphay.
  • Re-run the Build workflow after updating the secret.
  • Verify that package watchlink:latest appears under Gitea container packages.

Verification already performed:

  • Repository is public.
  • Latest Dockerfile fixes allow the Docker image build to proceed.
  • Failure is isolated to registry upload authorization.
The WatchLink Docker build now reaches the publish step, but pushing `git.wilkensxl.de/mrsphay/watchlink:latest` fails with `401 Unauthorized` during blob upload. Observed in Gitea Actions build run: - Docker build completes. - `docker push` starts uploading layers. - Registry returns `401 Unauthorized` for `POST https://git.wilkensxl.de/v2/mrsphay/watchlink/blobs/uploads/`. Impact: - The repository builds successfully, but the Docker image cannot be published to the Gitea container registry. Suggested fix: - Create or update repository/org secret `REGISTRY_TOKEN` with package/container write permission for owner `MrSphay`. - Re-run the Build workflow after updating the secret. - Verify that package `watchlink:latest` appears under Gitea container packages. Verification already performed: - Repository is public. - Latest Dockerfile fixes allow the Docker image build to proceed. - Failure is isolated to registry upload authorization.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Code-Inc/WatchLink#1