Repository navigation
feat(release): hand what the release built to a publisher repository - #34
Merged
Merged
Conversation
2 of 3 tasks
bpapaspyros
force-pushed
the
feat/release-publish-dispatch
branch
from
October 27, 2026 10:01
5ab530f to
8ad54ae
Compare
After building, the tag workflow dispatches the run's built artifacts to the private repository the RELEASE_PUBLISHER organization variable names, which publishes them from a self-hosted runner: self-hosted runners never take jobs from public repositories. The publish workflow installs an SSH client where a runner image lacks one.
bpapaspyros
force-pushed
the
feat/release-publish-dispatch
branch
from
October 27, 2026 14:05
8ad54ae to
c726ba9
Compare
mbloechli
reviewed
Oct 27, 2026
mbloechli
self-requested a review
October 27, 2026 16:05
mbloechli
approved these changes
Oct 27, 2026
mbloechli
left a comment
Contributor
There was a problem hiding this comment.
looks good to me otherwise
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
A release merge now builds its packages, but the
.debs stop at the run's artifacts. Publishing needs a runner that can reach the publish host, and self-hosted runners never take jobs from public repositories. So the public repository hands the build over to a private publisher repository, which publishes from a self-hosted runner.reusable_release_tag.ymlgets apublishjob afterbuild:repository_dispatchto the private repository named by theRELEASE_PUBLISHERorganization variable, or thepublisherinput;secrets: inherit), the run warns that nothing was published and stays green.reusable_release_publish.ymlinstalls an SSH client where a runner image lacks one.Testing
!and means the next release is a major version bump)Notes
secrets: inheritto its tag job to publish.