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

PoC: Add GitHub actions workflow #152

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

rgl
Copy link

@rgl rgl commented Jun 24, 2023

This adds a GitHub actions workflow to build the binary and release it as a GitHub Release.

As an example, I did a workflow run at https://github.com/rgl/dockutil/actions and a GitHub Release at https://github.com/rgl/dockutil/releases (where you can also see the tarballs with the binaries).

This is currently a PoC and it only supports the x86_64 architecture. But if this change is welcomed, I will, with your help, expand it to also build for the arm64 architecture and release the binaries as two different tar balls. This now builds x86_64 and arm64 binaries and packages them inside a tarball.

The only thing missing is the applying the version. Maybe the version could come from the git repository tag. Let me known what you think.

Please note that is currently based on the #131, which I think, should also be merged; once that happens I'll rebase this PR over it.

@rgl rgl force-pushed the github-actions branch 3 times, most recently from 1a24139 to 65ccff5 Compare June 25, 2023 16:31
@rgl rgl force-pushed the github-actions branch from 65ccff5 to c39d00f Compare June 25, 2023 16:43
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