binman currently supports fetching version information from github, and then downloading the asset from a separate url. Templating via go templates and sprig can be performed on the url to allow substitution of the fetched tag.
The following values are provided that are commonly used with external urls. See string templating for a full list.
releases:
- repo: kubernetes/kubernetes # a basic example
url: "https://dl.k8s.io/release//bin///kubectl",
- repo: hashicorp/terraform # a sprig example
url: https://releases.hashicorp.com/terraform//terraform___.zip`,
For convenience a list of “known” repositories is kept with the templating all figured out for you. Just leave the url field blank for these and binman will take care of it.
Current “known” repos are: