boyter / scc

Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
MIT License
6.28k stars 250 forks source link

Create Github action to automatically build a docker image and publish it in github package registry #425

Closed lhoupert closed 5 months ago

lhoupert commented 6 months ago

This should solve the issue https://github.com/boyter/scc/issues/143 and help developpers who cannot install binaries to pull directly from github a docker image of scc.

I tested the workflow here https://github.com/lhoupert/scc-in-docker/pkgs/container/scc-in-docker and it seems to be working well.

A docker image will be created each time a new push is made on main or a tag is created.

boyter commented 5 months ago

Thanks so much for the PR. Merged.

lhoupert commented 5 months ago

Thank you to you and your work :-)