add attribute-endpoints-provider plugin to keycloak
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
This commit is contained in:
parent
a14f114d0f
commit
819b1dffd2
2 changed files with 10 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ FROM quay.io/keycloak/keycloak:${TAG} as builder
|
||||||
ENV KC_DB=postgres
|
ENV KC_DB=postgres
|
||||||
|
|
||||||
WORKDIR /opt/keycloak
|
WORKDIR /opt/keycloak
|
||||||
|
ADD 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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue