diff --git a/.forgejo/workflows/container-build.yml b/.forgejo/workflows/container-build.yml index 461bde3..fa82ef3 100644 --- a/.forgejo/workflows/container-build.yml +++ b/.forgejo/workflows/container-build.yml @@ -1,15 +1,8 @@ --- on: [push] jobs: - configuration: + clone: runs-on: private-vault - 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: - name: clone run: | @@ -18,6 +11,18 @@ jobs: 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