mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-05 12:12:58 -05:00
The self-hosted aarch64 runners mount a persistent host directory as the container's $HOME, so /github/home/.gnupg survives between jobs. Lock files left there by an earlier job stall ghaction-import-gpg with 'database_open ... waiting for lock (held by N)' when that PID is in use in the new container. Create a fresh GNUPGHOME with mktemp -d inside the container before importing the key and export it via GITHUB_ENV so the import action, rpm signing and debsign all use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>