Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new GitHub Actions workflow for automated Node release management. It's triggered on node/v* tags and performs two main tasks: building and pushing a Docker image to GHCR, and creating a corresponding GitHub Release. The workflow distinguishes between stable releases (marked as latest) and pre-releases (rc, alpha, beta) with appropriate tagging and draft status.
Changes:
- Adds Docker image build and push on tag push events with semantic versioning and SHA-based tags
- Creates GitHub Releases with appropriate pre-release and latest designations based on version identifiers
- Implements concurrency controls to prevent duplicate runs
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/workflows/node-release.yml
Outdated
| build-args: | | ||
| GIT_BRANCH=${{ github.ref_name }} | ||
| GIT_COMMIT=${{ github.sha }} | ||
| GIT_COMMIT_DATE=${{ github.event.head_commit.timestamp }} |
There was a problem hiding this comment.
The github.event.head_commit context is not available when the workflow is triggered by a tag push event. This will result in an empty or null value being passed as GIT_COMMIT_DATE to the Docker build. Consider using github.event.repository.pushed_at or obtaining the commit timestamp through a separate git command after checkout (e.g., git log -1 --format=%cI).
0ba6ad2 to
007a5e3
Compare
Add
.github/workflows/node-release.yml— CI workflow triggered onnode/v*tags:src/Dockerfileghcr.io/rsquad/ton-rust-node/node(version tag +latestfor stable +sha-*)Latestfor stable,Pre-releasefor RC/alpha/beta)