Compare commits
2 Commits
4ea5e4114a
...
a8bbf8b8cd
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a8bbf8b8cd | ||
![]() |
5a8b301891 |
@@ -2,7 +2,7 @@ name: Deploy to GHCR
|
||||
|
||||
# only run most recent workflow in branch
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ gitea.workflow }}-${{ gitea.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
@@ -11,6 +11,8 @@ on:
|
||||
paths:
|
||||
- '**/*.dockerfile'
|
||||
- '.gitea/**'
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
|
||||
jobs:
|
||||
build-16:
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
```bash
|
||||
cd your/source/tree
|
||||
podman run --rm -v "${PWD}":/src ghcr.io/cwpearson/clang-format-16:latest clang-format ...
|
||||
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`.
|
||||
|
Reference in New Issue
Block a user