Skip to content

fix(ci): add cross Docker image build step to build-and-publish workflow#72

Merged
maxholman merged 1 commit into
mainfrom
fix/build-publish-cross-image
Mar 16, 2026
Merged

fix(ci): add cross Docker image build step to build-and-publish workflow#72
maxholman merged 1 commit into
mainfrom
fix/build-publish-cross-image

Conversation

@maxholman

Copy link
Copy Markdown
Contributor

Summary

  • Cross builds in build-and-publish.yml were failing with Unable to find image 'wallhack-cross:...' locally — the custom Docker image was never built before running cross
  • Adds docker/setup-buildx-action@v4 + docker/build-push-action@v7 steps gated on matrix.custom_image (set for x86_64-unknown-linux-musl only — aarch64-unknown-linux-gnu uses cross's built-in ghcr.io image)
  • Uses scope=cross-musl to share the GHA Docker layer cache with the PR workflow

How to verify

Retrigger the v0.8.0 build workflow and confirm the musl cross builds complete successfully.

🤖 Generated with Claude Code

The musl and aarch64 cross builds were failing with "Unable to find
image 'wallhack-cross:...' locally" because the custom Docker image
was never built before running cross. Add setup-buildx + build-push
steps (gated on matrix.custom_image) matching what pr.yml does.
Shares the GHA Docker layer cache via scope=cross-musl.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@maxholman
maxholman merged commit d6dfd25 into main Mar 16, 2026
2 checks passed
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.

1 participant