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

33 Zeilen
805 B
YAML

2025-01-18 12:39:28 +01:00
---
on: [push]
jobs:
2025-01-19 10:37:22 +01:00
clone:
runs-on: private-vault
steps:
- name: clone
run: |
2025-01-19 10:44:09 +01:00
apt update
apt install git
git init
git remote add origin "${{ github.repository }}"
git pull --depth=1
2025-01-18 12:39:28 +01:00
configuration:
runs-on: private-vault
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:
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:
- 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