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:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user