From 819b1dffd2e9f749343417a9ff37e3a183b3ffa7 Mon Sep 17 00:00:00 2001 From: June Date: Sun, 5 Apr 2026 16:50:37 +0200 Subject: [PATCH] add attribute-endpoints-provider plugin to keycloak --- .woodpecker/keycloak.yaml | 9 +++++++++ keycloak/Containerfile | 1 + 2 files changed, 10 insertions(+) diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 99e4df9..1414999 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -30,6 +30,15 @@ steps: commands: - 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 image: gcr.io/kaniko-project/executor entrypoint: diff --git a/keycloak/Containerfile b/keycloak/Containerfile index 7f5fa4c..7f91926 100644 --- a/keycloak/Containerfile +++ b/keycloak/Containerfile @@ -4,6 +4,7 @@ FROM quay.io/keycloak/keycloak:${TAG} as builder ENV KC_DB=postgres WORKDIR /opt/keycloak +ADD attribute-endpoints-provider.jar /opt/keycloak/providers/attribute-endpoints-provider.jar RUN /opt/keycloak/bin/kc.sh build FROM quay.io/keycloak/keycloak:${TAG}