Skip to content

fix(container): install gitleaks from release binaries on multi-arch CI - #61

Merged
matthew-on-git merged 1 commit into
mainfrom
fix/container-gitleaks-qemu-arm64
Sep 1, 2026
Merged

fix(container): install gitleaks from release binaries on multi-arch CI#61
matthew-on-git merged 1 commit into
mainfrom
fix/container-gitleaks-qemu-arm64

Conversation

@matthew-on-git

Copy link
Copy Markdown
Contributor

Summary

Scheduled Build and Publish Container run 33391871123 failed after 50m on build-and-push:

go install ... github.com/zricethezav/gitleaks/v8@v8.30.0
did not complete successfully: exit code: 1

Same SHA (00a4e64) succeeded the week before. Native go install of gitleaks v8.30.0 works on amd64; the failure is compiling it under QEMU for linux/arm64. GHA cache TTL is 7 days, so last Monday likely reused layers and this run rebuilt.

Change

Install pinned gitleaks v8.30.0 from official release tarballs (linux_x64 / linux_arm64) and verify SHA-256 against upstream checksums.txt. Official binaries are already version-stamped, so the -ldflags inject is no longer needed.

Verified locally:

  • amd64 tarball checksum + gitleaks version8.30.0
  • arm64 tarball checksum OK

Test Plan

  • Local download + sha256 for amd64 and arm64
  • amd64 binary executes gitleaks version
  • CI Build and Publish Container on this branch (or after merge, next scheduled/manual run)

Closes #60

QEMU-emulated `go install` of gitleaks v8.30.0 fails the scheduled
linux/amd64,linux/arm64 GHCR build (run 33391871123, issue #60).
Download the official linux x64/arm64 tarballs and verify SHA-256
against the upstream checksums.txt instead.

Closes #60
@matthew-on-git
matthew-on-git merged commit 7bbd777 into main Sep 1, 2026
3 checks passed
@matthew-on-git
matthew-on-git deleted the fix/container-gitleaks-qemu-arm64 branch September 1, 2026 01:22
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.

Build failed: 2026-08-31

1 participant