From 70c5367397634e41bf7927cf35fd80cdb353835a Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sat, 18 Jan 2025 12:39:28 +0100 Subject: [PATCH] test workflow --- .forgejo/workflows/container-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .forgejo/workflows/container-build.yml diff --git a/.forgejo/workflows/container-build.yml b/.forgejo/workflows/container-build.yml new file mode 100644 index 0000000..a26b3f8 --- /dev/null +++ b/.forgejo/workflows/container-build.yml @@ -0,0 +1,22 @@ +--- +on: [push] +jobs: + configuration: + runs-on: docker + container: + image: quay.io/keycloak/keycloak:latest + env: + PATH="/opt/keycloak/bin:/usr/bin:/usr/local/bin" + KC_HEALTH_ENABLED=false + KC_DB=postgres + KC_CACHE_STACK=tcp + KC_HTTPS_CLIENT_AUTH=request + KC_FEATURES=recovery-codes,passkeys,opentelemetry + KC_DB_URL=postgresql://postgres.services.tobie:5432/keycloak + steps: + - run: kc.sh build + working-directory: /opt/keycloak/ + - uses: actions/upload-artifact@v4 + with: + name: keycloak-dir + path: /opt/keycloak/