Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release artifacts(static binaries) to GitHub releases #41

Merged
merged 3 commits into from
Jul 3, 2024
Merged

Conversation

dr-housemd
Copy link
Contributor

@dr-housemd dr-housemd commented Jun 29, 2024

#24
This PR allows users to setup a release that can be triggered when a new git tag is created.

  • Creates a github release in the given owner/repo. This can allow users to upload artifacts to a different location without requiring to release with their source code.

  • Uploads artifact and its attestations. Artifact is in tar.gz format to accommodate for future use-cases(expand more than static binaries)

  • Artifact name and attestations include the target OS/Arch.

  • A flake.nix is generated for the artifact such that it can be downloaded and nix run/nix profile install .

  • PR also includes code to upload artifact to OCI as that was our initial goal. However, considering how public images in hosted registries don't allow unauthenticated requests- this has been put off. We might explore and build bsf specific functionality leveraging OCI as nix binary cache in future.

@dr-housemd dr-housemd merged commit 049e42d into main Jul 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants