Compare commits

..

2 Commits

Author SHA1 Message Date
Carl Pearson
7bd987c84a ci: gitea
Some checks failed
Deploy to GHCR / Build + Publish 16 (push) Failing after 15m3s
Deploy to GHCR / Build + Publish 8 (push) Has been cancelled
Deploy to GHCR / Build + Publish 14 (push) Has been cancelled
2025-09-02 09:28:08 -06:00
Carl Pearson
aa5bc885f9 ci: gitea
Some checks failed
Deploy to GHCR / Build + Publish 16 (push) Failing after 5s
Deploy to GHCR / Build + Publish 14 (push) Failing after 4s
Deploy to GHCR / Build + Publish 8 (push) Failing after 4s
2025-09-02 09:26:50 -06:00
5 changed files with 8 additions and 10 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: ${{ gitea.workflow }}-${{ gitea.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
on: on:
@@ -11,8 +11,6 @@ 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 git.carlpearson.net/cwpearson/clang-format-16:latest clang-format ... podman run --rm -v "${PWD}":/src ghcr.io/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 -j2 install RUN make -C build -j$(nproc) 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.carlpearson.net/cwpearson/clang-format LABEL org.opencontainers.image.source https://git.sr.ht/~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 -j2 install RUN make -C build -j$(nproc) 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.carlpearson.net/cwpearson/clang-format LABEL org.opencontainers.image.source https://git.sr.ht/~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 -j2 install RUN make -C build -j$(nproc) 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.carlpearson.net/cwpearson/clang-format LABEL org.opencontainers.image.source https://git.sr.ht/~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"