Skip to content

Commit ffbe216

Browse files
committed
fix: use correct DEB signing script in full-build workflow
The build-deb job was calling 'sign_deb.sh' which does not exist. The correct script is 'sign_deb_container.sh' used in release.yml. Changes: - Use sign_deb_container.sh instead of sign_deb.sh - Add GPG_KEY_ID environment variable (required by the script) - Pass distribution parameter to signing script - Add success message after signing This fixes DEB package signing failures in full-build workflow.
1 parent 9764ed9 commit ffbe216

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/full-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,11 @@ jobs:
535535
env:
536536
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
537537
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
538+
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
538539
run: |
539540
exporter="${{ matrix.exporter }}"
540-
build_dir="build/$exporter-${{ matrix.arch }}-${{ matrix.dist }}"
541+
dist="${{ matrix.dist }}"
542+
build_dir="build/$exporter-${{ matrix.arch }}-$dist"
541543
542544
deb_file=$(find "$build_dir/debs" -name "*.deb" | head -1)
543545
if [ -z "$deb_file" ]; then
@@ -546,8 +548,9 @@ jobs:
546548
fi
547549
548550
echo "::group::🔐 Signing DEB"
549-
chmod +x core/scripts/sign_deb.sh
550-
./core/scripts/sign_deb.sh "$deb_file" "$GPG_PRIVATE_KEY" "$GPG_PASSPHRASE"
551+
chmod +x core/scripts/sign_deb_container.sh
552+
./core/scripts/sign_deb_container.sh "$deb_file" "$GPG_PRIVATE_KEY" "$GPG_PASSPHRASE" "$GPG_KEY_ID" "$dist"
553+
echo "✓ DEB signed successfully"
551554
echo "::endgroup::"
552555
553556
- name: ⬆️ Upload to GitHub Releases

0 commit comments

Comments
 (0)