docker-publish: label images with their source repository #8

Merged
tim merged 2 commits from feat/image-source-label into main 2026-10-12 15:30:41 +00:00
Owner

Adds org.opencontainers.image.source=<server>/<repository> to images built by docker-publish. Forgejo links a container package to the repository on first creation when this label is present, so the package appears on the repository's Packages tab.

Only affects packages created after this change; existing packages are linked by hand in the package settings.

🤖 Generated with Claude Code

https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98

Adds `org.opencontainers.image.source=<server>/<repository>` to images built by `docker-publish`. Forgejo links a container package to the repository on first creation when this label is present, so the package appears on the repository's Packages tab. Only affects packages created after this change; existing packages are linked by hand in the package settings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
docker-publish: label images with their source repository
All checks were successful
test auto-tag / test (pull_request) Successful in 3s
test docker-publish / test (pull_request) Successful in 4s
test hassfest / test (pull_request) Successful in 20s
test python-test / test (pull_request) Successful in 14s
test security-scan / test (pull_request) Successful in 27s
b5294dd4d3
Forgejo links a container package to a repository on first creation
when the image carries org.opencontainers.image.source, so the package
shows up on the repository's Packages tab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
Link every built image to this repo, document the rule
All checks were successful
test auto-tag / test (pull_request) Successful in 3s
test docker-publish / test (pull_request) Successful in 4s
test hassfest / test (pull_request) Successful in 19s
test python-test / test (pull_request) Successful in 13s
test security-scan / test (pull_request) Successful in 28s
35a12fba0d
build-hassfest labelled the image with the Home Assistant core
repository, which Forgejo cannot link. The source label now names this
repository and the upstream origin moves to image.url.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
tim merged commit 4844ba3ce0 into main 2026-10-12 15:30:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/workflow-basics!8
No description provided.