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

[Feature Request] Auto publish image to ghcr.io #1094

Closed
DCjanus opened this issue May 10, 2024 · 1 comment · Fixed by #1096
Closed

[Feature Request] Auto publish image to ghcr.io #1094

DCjanus opened this issue May 10, 2024 · 1 comment · Fixed by #1096

Comments

@DCjanus
Copy link
Contributor

DCjanus commented May 10, 2024

Thank you for this awesome project. I am trying to introduce this tool into the projects within the company, hoping to provide a Makefile target that allows my colleagues to execute make codecount on their computers and see a beautiful code line count statistics.

However, I cannot require all my colleagues to pre-install the Rust toolchain or download Tokei binary. Fortunately, our workflow relies heavily on Docker, so I can assume that all my colleagues have Docker installed.

Therefore, I can write my Makefile like this:

codecount:
    docker run --rm -v $(pwd):/src $(IMAGE_NAME) .

Since Tokei currently does not have an official Docker image distribution channel, it means that I need to maintain an internal image of Tokei in the enterprise and keep up with upstream changes continuously.

I believe there will be others with similar needs, so I hope to create a GitHub Action that builds and pushes tokei image to public Docker Registry.
For now, I tend to push the image to ghcr.io because it integrates well with GitHub action.

If everyone is willing to accept this feature request, I am happy to implement it when I have time.

@XAMPPRocky
Copy link
Owner

Thank you for your issue! I'm certainly open to publishing an image for releases, right now my time is pretty busy, so I'd be willing accept a contribution updating the GitHub actions to publish the image.

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 a pull request may close this issue.

2 participants