Carl Pearson 770dcd4094
All checks were successful
Deploy to GHCR / Build + Publish 16 (push) Successful in 1h9m37s
Deploy to GHCR / Build + Publish 14 (push) Successful in 1h0m58s
Deploy to GHCR / Build + Publish 8 (push) Successful in 40m32s
ci: -j2
2025-09-02 12:26:08 -06:00
2025-03-30 19:57:45 -06:00
2025-03-30 19:57:45 -06:00
2025-09-02 09:50:09 -06:00
2025-09-02 12:26:08 -06:00
2025-09-02 12:26:08 -06:00
2025-09-02 12:26:08 -06:00
2024-07-10 08:45:57 -06:00
2025-09-02 09:49:55 -06:00

clang-format

Quick Run

cd your/source/tree
podman run --rm -v "${PWD}":/src git.carlpearson.net/cwpearson/clang-format-16:latest clang-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 clang-format-16.dockerfile -t clang-format-16:latest
podman build -f clang-format-8.dockerfile -t clang-format-8:latest

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.
Description
Docker containers for clang-format
Readme MIT 56 KiB
Languages
Dockerfile 87.1%
Shell 12.9%