-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Create a docker image? #93
Comments
Sure, why not! If there's a way to automate that for free, using Github Actions for publishing the new image, I'm up for it. As I don't know too much how that all works, help would be appreciated. |
I'm not familiar with github CI unfortunately, we use woodpecker CI which is an open source one for all our projects, and it has a docker buildx plugin that can build and push to dockerhub. I'm sure one probably exists for github tho. |
I've decided for things like this, rather than deploying a full docker image, its probably just easier to use cargo binstall in the CI. Here's some sample CI code:
|
Nice! TIL binstall. For what it's worth, one might also take the latest release exe from Github, modify it to make it executable, and then put it in $HOME/.cargo/bin, then run cargo machete. |
Fixes #93 I have already tested the code of this Pull Request in my own namespace. For details, please see this URL: https://github.com/DCjanus/cargo-machete/pkgs/container/cargo-machete
It'd be really useful to have an official docker image along with your releases, that we could use in our CI pipeline.
The text was updated successfully, but these errors were encountered: