From c5fb03c1c46da797088d851ac6d898fff2576565 Mon Sep 17 00:00:00 2001 From: Echo Date: Tue, 14 Apr 2026 03:12:43 +0000 Subject: [PATCH] fix: Remove ci.yml abuild-keygen (step isolation breaks key persistence) --- .github/workflows/ci.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b905a7..12418ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -151,17 +151,7 @@ jobs: - name: Install build dependencies run: | apk add --no-cache musl-dev openssl-dev git abuild gcc elogind-dev - # Generate keys and capture the key path from output - abuild-keygen -a -n 2>&1 | tee /tmp/keygen.log - # Find the actual key file (handles missing username prefix) - KEYFILE=$(ls /root/.abuild/*.rsa 2>/dev/null | head -1) - if [ -z "$KEYFILE" ]; then - KEYFILE=$(ls /root/.abuild/-*.rsa 2>/dev/null | head -1) - fi - echo "Found key: $KEYFILE" - # Write directly to abuild.conf (more reliable than env var) - echo "PACKAGER_PRIVKEY=\"$KEYFILE\"" >> /etc/abuild.conf - cat /etc/abuild.conf + # NOTE: abuild-keygen is now done inside build-alpine.sh to ensure keys persist in same shell session - name: Build APK package run: ./build-alpine.sh - name: Upload to releases (on tag)