From 5fd05e746fd7808b56bf411ec2e9fd03831134a1 Mon Sep 17 00:00:00 2001 From: matthiasberner Date: Sat, 10 Jan 2026 23:36:42 +0100 Subject: [PATCH] .drone.yml aktualisiert --- .drone.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index e5761a0..4fc23d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -73,15 +73,21 @@ steps: from_secret: password_authelia port: 22 command_timeout: 10m + envs: + - DRONE_CUSTOM_ARGS + - DRONE_BUILD_EVENT script: | - /bin/sh -eu -c ' + set -eu + fetch -o /tmp/authelia-update.sh \ - https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh && - chmod +x /tmp/authelia-update.sh && - echo "[INFO] Build event: ${DRONE_BUILD_EVENT}" && - echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-}" && + https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh + + chmod +x /tmp/authelia-update.sh + + echo "[INFO] Build event: ${DRONE_BUILD_EVENT}" + echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-}" + timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS} - ' --- kind: pipeline