Skip to content

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

Merged
ch4r10t33r merged 6 commits into
leanEthereum:mainfrom
ch4r10t33r:ci/docker-ghcr-upstream
Feb 26, 2026
Merged

ci: add Docker workflow for amd64/arm64 build and GHCR publish#417
ch4r10t33r merged 6 commits into
leanEthereum:mainfrom
ch4r10t33r:ci/docker-ghcr-upstream

Conversation

@ch4r10t33r

Copy link
Copy Markdown
Collaborator

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

@tcoratger tcoratger left a comment

Copy link
Copy Markdown
Collaborator

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
@ch4r10t33r
ch4r10t33r merged commit b7269e0 into leanEthereum:main Feb 26, 2026
12 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.

2 participants