Skip to content

Commit

Permalink
chore(deps): Update Keycloak dependencies to 24.0.4
Browse files Browse the repository at this point in the history
Signed-off-by: Sven-Torben Janus <sven-torben@sven-torben.de>
  • Loading branch information
sventorben committed May 9, 2024
1 parent 2374df2 commit 7bf071d
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ body:
label: Version
description: |
examples:
- **Keycloak**: 24.0.3
- **Keycloak**: 24.0.4
- **This extension**: 24.0.0
value: |
- Keycloak:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
keycloak_version: [ 22.0.5, 23.0.7, 24.0.0, 24.0.1, 24.0.2, 24.0.3, latest ]
keycloak_version: [ 22.0.5, 23.0.7, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 24.0.4, latest ]
keycloak_dist: [quarkus]
experimental: [false]
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
keycloak_version: [ 21.0.2, 21.1.2, 22.0.5, 23.0.7, 24.0.0, 24.0.1, 24.0.2, 24.0.3, latest, nightly ]
keycloak_version: [ 21.0.2, 21.1.2, 22.0.5, 23.0.7, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 24.0.4, latest, nightly ]
extension_version: [ 20.0.1, 21.0.0, 22.0.0, 23.0.0, 24.0.0 ]
steps:
- uses: actions/checkout@v4
Expand Down
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM registry.access.redhat.com/ubi9 AS ubi-micro-build
RUN mkdir -p /mnt/rootfs
RUN mkdir /otel
RUN dnf install --installroot /mnt/rootfs curl --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
dnf --installroot /mnt/rootfs clean all && \
rpm --root /mnt/rootfs -e --nodeps setup
RUN curl -L https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.1.0/opentelemetry-javaagent.jar --output /otel/opentelemetry-javaagent.jar

FROM quay.io/keycloak/keycloak:23.0.7

USER root
RUN mkdir /otel
COPY --from=ubi-micro-build --chown=keycloak:keycloak /otel /otel
ENV JAVA_OPTS_APPEND="-javaagent:/otel/opentelemetry-javaagent.jar"
USER keycloak
ENV KC_METRICS_ENABLED=true
11 changes: 11 additions & 0 deletions Dockerfile2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM registry.access.redhat.com/ubi9 AS ubi-micro-build
RUN mkdir -p /mnt/rootfs /extensions
RUN dnf install --installroot /mnt/rootfs curl --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
dnf --installroot /mnt/rootfs clean all && \
rpm --root /mnt/rootfs -e --nodeps setup

RUN curl -L https://github.com/sventorben/keycloak-home-idp-discovery/releases/download/v23.0.0/keycloak-home-idp-discovery.jar -o /extensions/keycloak-home-idp-discovery.jar

FROM quay.io/keycloak/keycloak:23.0.6

COPY --from=ubi-micro-build --chown=keycloak:keycloak /extensions/ /opt/keycloak/providers/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This is a simple Keycloak authenticator to restrict user authorization on clients.

![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/sventorben/keycloak-restrict-client-auth?sort=semver)
![Keycloak Dependency Version](https://img.shields.io/badge/Keycloak-24.0.3-blue)
![Keycloak Dependency Version](https://img.shields.io/badge/Keycloak-24.0.4-blue)
![GitHub Release Date](https://img.shields.io/github/release-date-pre/sventorben/keycloak-restrict-client-auth)
![Github Last Commit](https://img.shields.io/github/last-commit/sventorben/keycloak-restrict-client-auth)

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'
services:
keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:24.0.3
image: quay.io/keycloak/keycloak:24.0.4
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<maven.compiler.release>17</maven.compiler.release>

<!-- For compilation -->
<version.keycloak>24.0.3</version.keycloak>
<version.keycloak>24.0.4</version.keycloak>

<!-- For compatibility tests -->
<keycloak.version>${version.keycloak}</keycloak.version>
Expand Down

0 comments on commit 7bf071d

Please sign in to comment.