add attribute-endpoints-provider plugin to keycloak
Some checks failed
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/3 Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline failed
ci/woodpecker/cron/penpot/3 Pipeline failed
ci/woodpecker/cron/penpot/1 Pipeline failed

This commit is contained in:
June 2026-04-05 16:57:29 +02:00
commit 07bcd8cd16
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 11 additions and 0 deletions

View file

@ -30,6 +30,15 @@ steps:
commands: commands:
- mkdir /woodpecker/images - mkdir /woodpecker/images
- name: build-attribute-endpoints-provider
image: alpine
commands:
- apk -u add maven git
- 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 /woodpecker/src/keycloak/attribute-endpoints-provider.jar
- name: build-image - name: build-image
image: gcr.io/kaniko-project/executor image: gcr.io/kaniko-project/executor
entrypoint: entrypoint:

View file

@ -2,8 +2,10 @@ ARG TAG=latest
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
WORKDIR /opt/keycloak WORKDIR /opt/keycloak
ADD --chown=keycloak:keycloak --chmod=644 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}