feat: Add support for alternate download locations #259
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.
This PR introduces new functionality to branectl download services
Where services used to only support GitHub releases (and dockerhub for docker images), the input is now more freeform.
One can now for example input: github:danielvoogsgerd/brane/worker-instance:nightly to download the nightly version from my personal fork.
or in case of the default version on github these will all be synonyms:
It will assume the main repo, the latest version, and github, where a field is omited
For images it also extended the support:
We should now also support GitHub container registry (ghcr.io), so we can start publishing containers there as well.
These can be downloaded using for example: ghcr:brane-api for the brane-api image, note that these images are not yet available as of yet.
There are still some things that need to be sorted out: