Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 3, 2025

The alpha package build GitHub Action was failing across all architectures due to git-related issues in Docker containers:

Root Causes:

  1. Missing git package: ARM32 builds failed with git: command not found
  2. Docker ownership conflicts: ARM64 and x86_64 builds failed with fatal: detected dubious ownership in repository at '/repo'

The build script relies on git commands for changelog generation (lines 190+), but the Docker containers were missing git and experiencing ownership validation failures when accessing the mounted repository.

Changes:

  1. build/Dockerfile: Added git to the apt-get install dependencies to ensure git is available in all build containers
  2. build.sh: Added git config --global --add safe.directory /repo before git commands to handle Docker ownership validation

Impact:

  • ✅ All architectures (x86_64, aarch64, arm) can now execute git commands successfully
  • ✅ Changelog generation works properly for alpha, beta, and stable builds
  • ✅ No changes to build logic or package configurations
  • ✅ Validated with existing test suite - all tests pass

The fix is minimal and surgical, addressing only the specific git-related failures without affecting any other functionality.

Fixes #185.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Github Action Failed Fix GitHub Action failure: add git package and resolve Docker ownership issues Sep 3, 2025
@Copilot Copilot AI requested a review from NorthernMan54 September 3, 2025 15:15
Copilot finished work on behalf of NorthernMan54 September 3, 2025 15:15
@NorthernMan54 NorthernMan54 marked this pull request as ready for review September 3, 2025 15:18
@NorthernMan54 NorthernMan54 merged commit 0465269 into latest Sep 3, 2025
2 checks passed
@NorthernMan54 NorthernMan54 deleted the copilot/fix-185 branch September 3, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Github Action Failed
2 participants