Files
cmake-format/README.md
Carl Pearson ebff088a15 typo in readme
2024-10-22 11:50:23 -06:00

708 B

cmake-format

Quick Run

cd your/source/tree
podman run --rm -v "${PWD}"/src ghcr.io/cwpearson/cmake-format:0.6.13 cmake-format ...

Inside the container, the working directory is /src, we use the volume mount to map the host working directory ${PWD} into /src: -v "${PWD}"/src.

Building the Image Locally

podman build -f cmake-format-0.6.13.dockerfile -t cmake-format:0.6.13
podman run --rm -v "${PWD}":/src cmake-format:0.6.13 cmake-format ...

Deploy

  1. Create a "personal access token (classic)" with write:packages
  • account > settings > developer settings > personal access tokens
  1. Put that personal access token as the repository secret GHCR_TOKEN.