replaced the whole workflow with an job running on the host
Einige Prüfungen sind fehlgeschlagen
/ build-image (push) Failing after 3s
Einige Prüfungen sind fehlgeschlagen
/ build-image (push) Failing after 3s
Dieser Commit ist enthalten in:
Ursprung
9b0a3f8619
Commit
24f0f87220
3 geänderte Dateien mit 15 neuen und 52 gelöschten Zeilen
|
@ -1,24 +0,0 @@
|
|||
---
|
||||
name: Upload Tar Artifact
|
||||
author: "Sebastian"
|
||||
description: Uploads the file or directory as an artifact into github/forgejo
|
||||
inputs:
|
||||
name:
|
||||
default: artifact.tar
|
||||
description: Artifact name
|
||||
path:
|
||||
default: /bin
|
||||
description: Paths of the file or directory with the data
|
||||
outputs:
|
||||
T:
|
||||
description: just a sample output
|
||||
value: TEST
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: collect
|
||||
shell: sh
|
||||
run: "/bin/env"
|
||||
- name: upload
|
||||
shell: sh
|
||||
run: "/bin/true"
|
|
@ -1,29 +1,19 @@
|
|||
---
|
||||
on: [push]
|
||||
jobs:
|
||||
clone:
|
||||
runs-on: nodelts
|
||||
container:
|
||||
image: docker.io/node:lts
|
||||
build-image:
|
||||
runs-on: host
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
configuration:
|
||||
runs-on: docker
|
||||
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: ls -lA
|
||||
- run: kc.sh build
|
||||
working-directory: /opt/keycloak/
|
||||
- id: artifact-upload
|
||||
uses: ./.forgejo/actions/artifact-upload
|
||||
- uses: https://github.com/redhat-actions/buildah-build@v2
|
||||
with:
|
||||
name: keycloak.tar
|
||||
path: /opt/keycloak
|
||||
containerfiles: Containerfile
|
||||
image: ${{ github.repository }}
|
||||
registry: gitea.sebastian-tobie.de
|
||||
tags: latest ${{ github.run_number }}
|
||||
- uses: https://github.com/redhat-actions/push-to-registry@v2.8
|
||||
with:
|
||||
image: ${{ github.repository }}
|
||||
registry: gitea.sebastian-tobie.de
|
||||
tags: latest ${{ github.run_number }}
|
||||
password: ${{ github.token }}
|
|
@ -1,7 +1,4 @@
|
|||
#ifndef SOURCE
|
||||
#define SOURCE gitea.sebastian-tobie.de/docker/keycloak:latest-orig
|
||||
#endif
|
||||
FROM SOURCE as builder
|
||||
FROM quay.io/keycloak/keycloak:latest as builder
|
||||
ENV PATH="/opt/keycloak/bin:/usr/bin:/usr/local/bin"
|
||||
|
||||
ENV KC_HEALTH_ENABLED=false
|
||||
|
@ -12,7 +9,7 @@ ENV KC_FEATURES=dynamic-scopes,recovery-codes,preview
|
|||
ENV KC_DB_URL=postgresql://postgres.services.tobie:5432/keycloak
|
||||
RUN kc.sh build
|
||||
|
||||
FROM SOURCE
|
||||
FROM quay.io/keycloak/keycloak:latest
|
||||
ENV PATH="/opt/keycloak/bin:/usr/bin:/usr/local/bin"
|
||||
|
||||
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren