2025-01-18 12:39:28 +01:00
|
|
|
---
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
2025-01-19 10:37:22 +01:00
|
|
|
clone:
|
2025-01-19 10:58:29 +01:00
|
|
|
runs-on: nodelts
|
2025-01-19 10:49:52 +01:00
|
|
|
container:
|
|
|
|
image: docker.io/node:lts
|
2025-01-19 10:37:22 +01:00
|
|
|
steps:
|
2025-01-19 10:49:52 +01:00
|
|
|
- uses: actions/checkout@v3
|
2025-01-18 12:39:28 +01:00
|
|
|
configuration:
|
2025-01-19 10:58:29 +01:00
|
|
|
runs-on: docker
|
2025-01-19 10:37:22 +01:00
|
|
|
needs:
|
|
|
|
- clone
|
2025-01-18 12:39:28 +01:00
|
|
|
container:
|
|
|
|
image: quay.io/keycloak/keycloak:latest
|
|
|
|
env:
|
2025-01-18 12:52:18 +01:00
|
|
|
PATH: "/opt/keycloak/bin:/usr/bin:/usr/local/bin"
|
|
|
|
KC_DB: postgres
|
|
|
|
KC_HTTPS_CLIENT_AUTH: request
|
|
|
|
KC_FEATURES: recovery-codes,passkeys,opentelemetry
|
2025-01-18 12:39:28 +01:00
|
|
|
steps:
|
2025-01-19 10:58:29 +01:00
|
|
|
- run: ls -lA
|
2025-01-18 12:39:28 +01:00
|
|
|
- run: kc.sh build
|
|
|
|
working-directory: /opt/keycloak/
|
2025-01-18 16:54:08 +01:00
|
|
|
- id: artifact-upload
|
2025-01-18 16:14:33 +01:00
|
|
|
uses: ./.forgejo/actions/artifact-upload
|
|
|
|
with:
|
|
|
|
name: keycloak.tar
|
|
|
|
path: /opt/keycloak
|