From 2fae858d8768d51d6bd363a4056e4d209330ca83 Mon Sep 17 00:00:00 2001 From: Matthew Binning Date: Wed, 21 Jan 2026 15:01:42 -0800 Subject: [PATCH] fix: Account for ash not bash --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c377afe..caa0c2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -159,14 +159,15 @@ encrypt: - | echo 'DD0007338E2C43BD553D569377D9D93F96483723:6:' | gpg --import-ownertrust - echo "Encrypting hello-world.tar.gz..." + - printf '%s\n' "$[[ inputs.gpg_passphrase ]]" > passphrase.txt - | gpg --batch --yes \ --pinentry-mode loopback \ - --passphrase-fd 3 \ + --passphrase-file passphrase.txt \ --sign --default-key B35BF119FC3AE04C \ --encrypt -r 6C4C078A1C72925E \ -o hello-world.tar.gz.gpg \ - hello-world.tar.gz 3<<<'$[[ inputs.gpg_passphrase ]]' + hello-world.tar.gz - | if [ -f "hello-world.tar.gz.gpg" ]; then echo "Encryption successful!"