Commits vergleichen

...

4 Commits

Autor SHA1 Nachricht Datum
d52ca5c0b3 fixed the missing domain
Einige Prüfungen sind fehlgeschlagen
/ container_build (push) Has been cancelled
2025-01-26 19:56:48 +01:00
a86949306c using the token in the login 2025-01-26 19:55:57 +01:00
f4cd8f04d3 removed the debug logging 2025-01-26 19:43:35 +01:00
01cfafbc87 silenced the skopeo copy 2025-01-26 19:43:14 +01:00
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -16,8 +16,8 @@ jobs:
env:
REGISTRY_AUTH_FILE: ${{env.RUNNER_TEMP}}/auth.json
run: |
echo "{}">"$REGISTRY_AUTH_FILE"
skopeo copy -a --dest-precompute-digests --dest-registry-token=${{ env.GITHUB_TOKEN }} containers-storage:localhost/keycloak:latest ${GITHUB_SERVER_URL//https:/docker:}/${{ env.GITHUB_REPOSITORY }}:latest
skopeo login -u '' -p ${GITHUB_TOKEN} ${GITHUB_SERVER_URL}
skopeo copy -a --dest-precompute-digests containers-storage:localhost/keycloak:latest ${GITHUB_SERVER_URL//https:/docker:}/${{ env.GITHUB_REPOSITORY }}:latest
- name: Cleanup
run: |
buildah rmi -f localhost/keycloak

Datei anzeigen

@ -27,10 +27,10 @@ buildah config \
-u keycloak:keycloak \
--entrypoint "[\"kc.sh\", \"start\", \"--optimized\", \"--http-enabled\", \"true\", \"--proxy\", \"edge\", \"--log-console-format\", \"'%-5p [%c] (%t) %s%e%n'\", \"--hostname-strict-backchannel=true\"]" \
final
set -x
buildah run -- builder kc.sh build --db=postgres --metrics-enabled=true --https-client-auth request --features web-authn,passkeys,persistent-user-sessions,recovery-codes --features-disabled kerberos,docker,ciba,fips
buildah copy --from builder --chown root:root final /opt/keycloak/ /opt/keycloak/
buildah rm builder
buildah commit -q -f oci --rm final containers-storage:localhost/keycloak:latest
skopeo copy containers-storage:localhost/keycloak:latest containers-storage:localhost/keycloak:$GITHUB_RUN_NUMBER
skopeo copy -q containers-storage:localhost/keycloak:latest containers-storage:localhost/keycloak:$GITHUB_RUN_NUMBER