2
0
Fork 0
keycloak/.forgejo/workflows/container-build.yml

28 Zeilen
737 B
YAML

2025-01-18 12:39:28 +01:00
---
on: [push]
jobs:
configuration:
runs-on: private-vault
2025-01-18 12:39:28 +01:00
container:
image: quay.io/keycloak/keycloak:latest
env:
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:32:23 +01:00
- name: clone
run: |
sleep 300;
apt install git;
git init;
git remote add origin "${{ github.repository }}";
git pull --depth=1;
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