Compare commits

..

6 Commits

Author SHA1 Message Date
Carl Pearson
770dcd4094 ci: -j2
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
2025-09-02 12:26:08 -06:00
Carl Pearson
a8bbf8b8cd ci: concurrency
Some checks failed
Deploy to GHCR / Build + Publish 8 (push) Has been cancelled
Deploy to GHCR / Build + Publish 16 (push) Has been cancelled
Deploy to GHCR / Build + Publish 14 (push) Has been cancelled
2025-09-02 09:50:09 -06:00
Carl Pearson
5a8b301891 README: container registry 2025-09-02 09:49:55 -06:00
Carl Pearson
4ea5e4114a serial build
Some checks failed
Deploy to GHCR / Build + Publish 14 (push) Has been cancelled
Deploy to GHCR / Build + Publish 8 (push) Has been cancelled
Deploy to GHCR / Build + Publish 16 (push) Has been cancelled
2025-09-02 09:42:19 -06:00
Carl Pearson
233828d402 image source label 2025-09-02 09:33:23 -06:00
Carl Pearson
08524660da ci: gitea 2025-09-02 09:33:20 -06:00
5 changed files with 10 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ name: Deploy to GHCR
# only run most recent workflow in branch # only run most recent workflow in branch
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true cancel-in-progress: true
on: on:
@@ -11,6 +11,8 @@ on:
paths: paths:
- '**/*.dockerfile' - '**/*.dockerfile'
- '.gitea/**' - '.gitea/**'
paths-ignore:
- 'README.md'
jobs: jobs:
build-16: build-16:

View File

@@ -4,7 +4,7 @@
```bash ```bash
cd your/source/tree 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`. 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`.

View File

@@ -16,7 +16,7 @@ RUN cmake -S llvm-project-14.0.6.src/llvm -B build \
-DLLVM_ENABLE_PROJECTS='clang' \ -DLLVM_ENABLE_PROJECTS='clang' \
-DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_BUILD_TYPE=MinSizeRel \
-DLLVM_TARGETS_TO_BUILD="" -DLLVM_TARGETS_TO_BUILD=""
RUN make -C build -j$(nproc) install RUN make -C build -j2 install
# base final image off ubi8-micro # base final image off ubi8-micro
FROM docker.io/redhat/ubi8-micro FROM docker.io/redhat/ubi8-micro
@@ -25,7 +25,7 @@ LABEL maintainer="Carl Pearson <me@carlpearson.net>"
LABEL org.opencontainers.image.title="clang-format 14" LABEL org.opencontainers.image.title="clang-format 14"
LABEL description="A container with clang-format 14" LABEL description="A container with clang-format 14"
LABEL org.opencontainers.image.description="A container with clang-format 14" LABEL org.opencontainers.image.description="A container with clang-format 14"
LABEL org.opencontainers.image.source https://git.sr.ht/~cwpearson/clang-format LABEL org.opencontainers.image.source https://git.carlpearson.net/cwpearson/clang-format
LABEL org.opencontainers.image.licenses="MIT" LABEL org.opencontainers.image.licenses="MIT"
# LABEL version="1.0" # LABEL version="1.0"
# LABEL org.opencontainers.image.version="1.0" # LABEL org.opencontainers.image.version="1.0"

View File

@@ -16,7 +16,7 @@ RUN cmake -S llvm-project-16.0.6.src/llvm -B build \
-DLLVM_ENABLE_PROJECTS='clang' \ -DLLVM_ENABLE_PROJECTS='clang' \
-DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_BUILD_TYPE=MinSizeRel \
-DLLVM_TARGETS_TO_BUILD="" -DLLVM_TARGETS_TO_BUILD=""
RUN make -C build -j$(nproc) install RUN make -C build -j2 install
# base final image off ubi8-micro # base final image off ubi8-micro
FROM docker.io/redhat/ubi8-micro FROM docker.io/redhat/ubi8-micro
@@ -25,7 +25,7 @@ LABEL maintainer="Carl Pearson <me@carlpearson.net>"
LABEL org.opencontainers.image.title="clang-format 16" LABEL org.opencontainers.image.title="clang-format 16"
LABEL description="A container with clang-format 16" LABEL description="A container with clang-format 16"
LABEL org.opencontainers.image.description="A container with clang-format 16" LABEL org.opencontainers.image.description="A container with clang-format 16"
LABEL org.opencontainers.image.source https://git.sr.ht/~cwpearson/clang-format LABEL org.opencontainers.image.source https://git.carlpearson.net/cwpearson/clang-format
LABEL org.opencontainers.image.licenses="MIT" LABEL org.opencontainers.image.licenses="MIT"
# LABEL version="1.0" # LABEL version="1.0"
# LABEL org.opencontainers.image.version="1.0" # LABEL org.opencontainers.image.version="1.0"

View File

@@ -19,7 +19,7 @@ RUN cmake -S llvm-8.0.1.src -B build \
-DLLVM_ENABLE_PROJECTS='clang' \ -DLLVM_ENABLE_PROJECTS='clang' \
-DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_BUILD_TYPE=MinSizeRel \
-DLLVM_TARGETS_TO_BUILD="" -DLLVM_TARGETS_TO_BUILD=""
RUN make -C build -j$(nproc) install RUN make -C build -j2 install
# base final image off ubi8-micro # base final image off ubi8-micro
FROM docker.io/redhat/ubi8-micro FROM docker.io/redhat/ubi8-micro
@@ -28,7 +28,7 @@ LABEL maintainer="Carl Pearson <me@carlpearson.net>"
LABEL org.opencontainers.image.title="clang-format 8" LABEL org.opencontainers.image.title="clang-format 8"
LABEL description="A container with clang-format 8" LABEL description="A container with clang-format 8"
LABEL org.opencontainers.image.description="A container with clang-format 8" LABEL org.opencontainers.image.description="A container with clang-format 8"
LABEL org.opencontainers.image.source https://git.sr.ht/~cwpearson/clang-format LABEL org.opencontainers.image.source https://git.carlpearson.net/cwpearson/clang-format
LABEL org.opencontainers.image.licenses="MIT" LABEL org.opencontainers.image.licenses="MIT"
# LABEL version="1.0" # LABEL version="1.0"
# LABEL org.opencontainers.image.version="1.0" # LABEL org.opencontainers.image.version="1.0"