Skip to content

ci: add Docker workflow for amd64/arm64 build and GHCR publish#417

Open
ch4r10t33r wants to merge 4 commits intoleanEthereum:mainfrom
ch4r10t33r:ci/docker-ghcr-upstream
Open

ci: add Docker workflow for amd64/arm64 build and GHCR publish#417
ch4r10t33r wants to merge 4 commits intoleanEthereum:mainfrom
ch4r10t33r:ci/docker-ghcr-upstream

Conversation

@ch4r10t33r
Copy link
Contributor

Adds a GitHub Actions workflow that:

  • Builds the node Docker image for linux/amd64 and linux/arm64 on every push and pull request to main
  • Publishes ghcr.io/leanethereum/leanspec-node:latest only when changes are merged to main

Uses Docker Buildx with QEMU for multi-platform builds and GHA cache for faster runs.

- Build image for linux/amd64 and linux/arm64 on every PR and push to main
- Publish ghcr.io/leanethereum/leanspec-node:latest only on merge to main
Avoid transient failures when uv fetches python-build-standalone
(HTTP/2 stream errors). Use Actions tool-cache Python instead.
…warning

- Add aclose() for async shutdown; use it in tests and thread fixture
- Conftest stop() now runs aclose() on loop and waits before stopping
- Add timeout to gossipsub network fixture teardown to prevent hangs
- Handle TimeoutError gracefully in API server thread shutdown
- Remove unused asyncio import from checkpoint sync tests
Copy link
Collaborator

@tcoratger tcoratger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @unnawut @fselmo maybe a second opinion would be valuable here since I'm not a CI or Docker expert at all?

@ch4r10t33r ch4r10t33r requested a review from unnawut February 25, 2026 15:23
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.

2 participants