Skip to content

ci: separate GHCR image publish from SSH deploy into distinct jobs#110

Merged
abigaildotnet merged 1 commit intomasterfrom
copilot/separate-node-publish-image
Apr 19, 2026
Merged

ci: separate GHCR image publish from SSH deploy into distinct jobs#110
abigaildotnet merged 1 commit intomasterfrom
copilot/separate-node-publish-image

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 19, 2026

Summary

Separates the "publish image to ghcr.io" step from the "deploy to server via SSH" step in cicd.yml.

Motivation

Previously, both publishing the Docker image and deploying it via SSH lived in the same job (build_and_publish / build_native_and_publish). If the SSH connection to Hostinger failed, the entire job had to be re-run — including the expensive image build and push. By splitting them into independent jobs, a failed deploy can be re-run without rebuilding the image.

Changes

  • build_and_publish — SSH deploy step removed; image build + push only.
  • build_native_and_publish — SSH deploy step removed; native compile, validation container, and image push only.
  • deploy_jvm (new) — depends on build_and_publish; runs only the SSH deploy for the JVM image.
  • deploy_native (new) — depends on build_native_and_publish; runs only the SSH deploy for the native image.

Both new deploy jobs compute GHCR_OWNER_LC from GITHUB_REPOSITORY_OWNER (same logic as their parent jobs) and run only on push/workflow_dispatch events to master.

Copilot AI requested a review from abigaildotnet April 19, 2026 18:40
@abigaildotnet abigaildotnet marked this pull request as ready for review April 19, 2026 18:44
@abigaildotnet abigaildotnet merged commit adc349d into master Apr 19, 2026
5 checks passed
@abigaildotnet abigaildotnet deleted the copilot/separate-node-publish-image branch April 19, 2026 18:44
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