Skip to content

ci(node): add node release workflow#50

Merged
bvscd merged 2 commits intomasterfrom
ci/node-release-workflow
Apr 2, 2026
Merged

ci(node): add node release workflow#50
bvscd merged 2 commits intomasterfrom
ci/node-release-workflow

Conversation

@inyellowbus
Copy link
Copy Markdown
Contributor

Add .github/workflows/node-release.yml — CI workflow triggered on node/v* tags:

  • Builds Docker image from src/Dockerfile
  • Pushes to ghcr.io/rsquad/ton-rust-node/node (version tag + latest for stable + sha-*)
  • Creates GitHub Release (Latest for stable, Pre-release for RC/alpha/beta)

Copilot AI review requested due to automatic review settings April 2, 2026 11:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

build-args: |
GIT_BRANCH=${{ github.ref_name }}
GIT_COMMIT=${{ github.sha }}
GIT_COMMIT_DATE=${{ github.event.head_commit.timestamp }}
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

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).

Copilot uses AI. Check for mistakes.
@inyellowbus inyellowbus changed the base branch from release/node/v0.4.0 to master April 2, 2026 15:13
@inyellowbus inyellowbus force-pushed the ci/node-release-workflow branch from 0ba6ad2 to 007a5e3 Compare April 2, 2026 15:21
@bvscd bvscd merged commit 61d45db into master Apr 2, 2026
3 of 5 checks passed
@bvscd bvscd deleted the ci/node-release-workflow branch April 2, 2026 15: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.

3 participants