Compare commits

...

7 commits

Author SHA1 Message Date
a866d88b50 Update actions/checkout action to v7
Some checks failed
Build Keycloak / Build Keycloak Image-2 (push) Successful in 2m51s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 2m53s
Build Keycloak / Build Keycloak Image (push) Successful in 2m53s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m40s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m45s
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 8m5s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 3m0s
Build Nextcloud / Build Nextcloud 34 Image (push) Successful in 8m9s
2026-07-01 19:01:17 +00:00
Max
72eb0a9080 make renovate track nextcloud versions
Some checks failed
Build Keycloak / Build Keycloak Image (push) Successful in 3m11s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 3m17s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 3m20s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m45s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m44s
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 8m45s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 3m27s
Build Nextcloud / Build Nextcloud 34 Image (push) Successful in 8m54s
2026-07-01 21:00:12 +02:00
Max
4cc2bd594d build nextcloud image from source 2026-07-01 21:00:12 +02:00
c7ac4a471e Update debian Docker tag to v13
Some checks failed
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 1m11s
Build Nextcloud / Build Nextcloud 34 Image (push) Successful in 1m13s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 2m42s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 2m44s
Build Keycloak / Build Keycloak Image (push) Successful in 3m8s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m44s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m45s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 3m42s
2026-06-30 20:16:29 +00:00
Max
8c2b24cd83
move java build process to build container
Some checks failed
Build Keycloak / Build Keycloak Image (push) Successful in 2m33s
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 1m12s
Build Nextcloud / Build Nextcloud 34 Image (push) Successful in 1m10s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 2m13s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 2m32s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m40s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m36s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 3m23s
2026-06-30 22:00:27 +02:00
8a55eae92b
nextcloud: build nextcloud 34
Some checks failed
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 1m22s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 2m9s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 2m8s
Build Keycloak / Build Keycloak Image (push) Successful in 2m10s
Build Nextcloud / Build Nextcloud 34 Image (push) Successful in 1m20s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m37s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m40s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 3m42s
2026-06-26 19:15:39 +02:00
3b8232cab1
build_nextcloud: remove version 32
Some checks failed
Build Keycloak / Build Keycloak Image (push) Successful in 1m51s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 1m55s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 1m59s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m30s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m18s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 3m17s
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 1m0s
2026-06-25 21:55:28 +02:00
4 changed files with 52 additions and 20 deletions

View file

@ -18,17 +18,10 @@ jobs:
keycloak-version: [ 26.6.1, 26.6.2, 26.6.3 ] keycloak-version: [ 26.6.1, 26.6.2, 26.6.3 ]
steps: steps:
- name: Install required system packages - name: Install required system packages
run: apk add --no-cache nodejs maven git run: apk add --no-cache nodejs
- name: Checkout Source Code - name: Checkout Source Code
uses: actions/checkout@v6 uses: actions/checkout@v7
- name: Build attribute-endpoints-provider
run: |
git clone https://git.hamburg.ccc.de/CCCHH/keycloak-attribute-endpoints-provider.git
cd keycloak-attribute-endpoints-provider
mvn -f attribute-endpoints-provider verify
cp attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar ${{ forgejo.workspace }}/keycloak/attribute-endpoints-provider.jar
- name: Build Container - name: Build Container
env: env:

View file

@ -14,21 +14,40 @@ jobs:
image: ghcr.io/osscontainertools/kaniko:alpine image: ghcr.io/osscontainertools/kaniko:alpine
strategy: strategy:
matrix: matrix:
nextcloud-version: [ 32, 33 ] # renovate: datasource=docker depName=docker.io/library/nextcloud
nextcloud-version: [ 33, 34 ]
steps: steps:
- name: Install required system packages - name: Install required system packages
run: apk add --no-cache nodejs run: apk add --no-cache nodejs git
- name: Checkout Source Code - name: Checkout source code
uses: actions/checkout@v6 uses: actions/checkout@v7
- name: Build Container - name: Checkout nextcloud/docker
run: git clone --depth 1 https://github.com/nextcloud/docker.git nextcloud-docker
- name: Build base Nextcloud image
env: env:
KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }} KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }}
KANIKO_GIT_HAMBURG_CCC_DE_USER: forgejo-actions KANIKO_GIT_HAMBURG_CCC_DE_USER: forgejo-actions
KANIKO_GIT_HAMBURG_CCC_DE_PASSWORD: ${{ secrets.PACKAGES_TOKEN }} KANIKO_GIT_HAMBURG_CCC_DE_PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
run: /kaniko/executor run: /kaniko/executor
--dockerfile="${{forgejo.workspace }}/nextcloud/Containerfile" --dockerfile="${{ forgejo.workspace }}/nextcloud-docker/${{ matrix.nextcloud-version }}/apache/Dockerfile"
--context="dir://${{ forgejo.workspace }}/nextcloud-docker/${{ matrix.nextcloud-version }}/apache"
--build-arg=TAG=${{ matrix.nextcloud-version }}
--destination=git.hamburg.ccc.de/ccchh/oci-images/nextcloud-base:${{ matrix.nextcloud-version }}
--no-push-cache
--credential-helpers=env
--annotation=org.opencontainers.image.ref.name=nextcloud-base
--annotation=org.opencontainers.image.source=${{ forgejo.server_url }}/${{ forgejo.repository }}
- name: Build extended image
env:
KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }}
KANIKO_GIT_HAMBURG_CCC_DE_USER: forgejo-actions
KANIKO_GIT_HAMBURG_CCC_DE_PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
run: /kaniko/executor
--dockerfile="${{ forgejo.workspace }}/nextcloud/Containerfile"
--context="dir://${{ forgejo.workspace }}/nextcloud" --context="dir://${{ forgejo.workspace }}/nextcloud"
--build-arg=TAG=${{ matrix.nextcloud-version }} --build-arg=TAG=${{ matrix.nextcloud-version }}
--destination=git.hamburg.ccc.de/ccchh/oci-images/nextcloud:${{ matrix.nextcloud-version }} --destination=git.hamburg.ccc.de/ccchh/oci-images/nextcloud:${{ matrix.nextcloud-version }}

View file

@ -1,13 +1,33 @@
ARG TAG=latest ARG TAG=latest
FROM debian:13-slim as attribute-endpoints-provider-builder
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y maven git \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /maven
RUN git clone https://git.hamburg.ccc.de/CCCHH/keycloak-attribute-endpoints-provider.git /maven/keycloak-attribute-endpoints-provider
WORKDIR /maven/keycloak-attribute-endpoints-provider
RUN mvn -f attribute-endpoints-provider verify
RUN mv attribute-endpoints-provider/target/attribute-endpoints-provider-*.jar /maven/attribute-endpoints-provider.jar
FROM quay.io/keycloak/keycloak:${TAG} as builder FROM quay.io/keycloak/keycloak:${TAG} as builder
ENV KC_DB=postgres ENV KC_DB=postgres
ENV KC_FEATURES=declarative-ui ENV KC_FEATURES=declarative-ui
WORKDIR /opt/keycloak WORKDIR /opt/keycloak
ADD --chown=keycloak:keycloak --chmod=644 attribute-endpoints-provider.jar /opt/keycloak/providers/attribute-endpoints-provider.jar
COPY --from=attribute-endpoints-provider-builder /maven/attribute-endpoints-provider.jar /opt/keycloak/providers/attribute-endpoints-provider.jar
RUN /opt/keycloak/bin/kc.sh build RUN /opt/keycloak/bin/kc.sh build
FROM quay.io/keycloak/keycloak:${TAG} FROM quay.io/keycloak/keycloak:${TAG}
COPY --from=builder /opt/keycloak/ /opt/keycloak/ COPY --from=builder /opt/keycloak/ /opt/keycloak/
ADD themes/ /opt/keycloak/themes/ ADD themes/ /opt/keycloak/themes/

View file

@ -1,10 +1,10 @@
ARG TAG=latest ARG TAG
FROM docker.io/library/nextcloud:${TAG} FROM git.hamburg.ccc.de/ccchh/oci-images/nextcloud-base:${TAG}
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y supervisor \ && apt-get install -y supervisor \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& mkdir -p /var/log/supervisord /var/run/supervisord && mkdir -p /var/log/supervisord /var/run/supervisord
# We need to copy a file to the supervisord folder in /var/run so it exists when the container starts. # We need to copy a file to the supervisord folder in /var/run so it exists when the container starts.
COPY .keep /var/run/supervisord/ COPY .keep /var/run/supervisord/
@ -13,4 +13,4 @@ COPY supervisord.conf /
ENV NEXTCLOUD_UPDATE=1 ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]