From 33fbe9e4435ed91e065cb61fda6e08fb9a542aec Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 12 May 2025 22:50:14 +0200 Subject: [PATCH] Add error handling to legacy secret-keyring build step --- .gitea/workflows/package-and-deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/package-and-deploy.yaml b/.gitea/workflows/package-and-deploy.yaml index 12c723e..2f7c879 100644 --- a/.gitea/workflows/package-and-deploy.yaml +++ b/.gitea/workflows/package-and-deploy.yaml @@ -34,6 +34,7 @@ jobs: # 4) “Generation‑1”‑Secret‑Ring für Helm erzeugen (TMP, 600 Rechte) - name: Build legacy secret-keyring run: | + set -euo pipefail install -m 700 -d /tmp/gpgring gpg --batch --yes --pinentry-mode loopback \ --passphrase "$PASSPHRASE" \