Private
Public Access
1
0

merge: PR #8 - fix Alpine abuild key generation

- Force HOME=/root in build-alpine.sh for consistent key location
- Use find instead of ls for key discovery (handles dash-prefixed filenames)
- Search multiple paths for generated keys
- Copy keys from KEY_DIR to builduser home directory
- Set env.HOME=/root in Alpine container spec
- Remove separate abuild-keygen step (handled by build-alpine.sh)
- Add error exit if no signing key found

Co-authored-by: git-echo <git-echo@moon-dragon.us>
This commit is contained in:
Draco Lunaris
2026-05-31 16:13:49 -05:00
committed by GitHub
parent a3b299b116
commit 80f8f4fed2
2 changed files with 27 additions and 10 deletions

View File

@ -244,6 +244,8 @@ jobs:
runs-on: ubuntu-latest
container:
image: alpine:latest
env:
HOME: /root
steps:
- name: Install prerequisites for actions/checkout
run: apk add --no-cache bash git curl tar
@ -258,8 +260,6 @@ jobs:
run: rustup target add x86_64-unknown-linux-musl
- name: Build release binary (musl target)
run: cargo build --release --target x86_64-unknown-linux-musl
- name: Generate abuild signing keys
run: abuild-keygen -a -n
- name: Build Alpine package
run: |
chmod +x build-alpine.sh