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/