2
0
Fork 0
keycloak/.forgejo/workflows/container-build.yml
Sebastian Tobie 275fa13a27
Einige Prüfungen sind noch ausstehend
/ clone (push) Waiting to run
/ configuration (push) Blocked by required conditions
seperated the cloning
2025-01-19 10:37:22 +01:00

32 Zeilen
809 B
YAML

---
on: [push]
jobs:
clone:
runs-on: private-vault
steps:
- name: clone
run: |
sleep 300;
apt install git;
git init;
git remote add origin "${{ github.repository }}";
git pull --depth=1;
configuration:
runs-on: private-vault
needs:
- clone
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
steps:
- run: kc.sh build
working-directory: /opt/keycloak/
- id: artifact-upload
uses: ./.forgejo/actions/artifact-upload
with:
name: keycloak.tar
path: /opt/keycloak