Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 1, 2025

Adds CI/CD workflow to build and publish Docker images to GitHub Container Registry for easy deployment.

Changes

  • New workflow .github/workflows/publish-ghcr.yml:
    • Triggers on push to main/develop branches and version tags (v*)
    • PR builds validate Dockerfile without pushing
    • Auto-generates tags from branch, semver, and SHA
    • Uses GHA cache for layer caching
    • Authenticates via GITHUB_TOKEN (no additional secrets needed)

Tagging Strategy

Event Example Tags
Push to develop develop, sha-abc1234
Push to main main, sha-abc1234
Tag v1.2.3 1.2.3, 1.2, sha-abc1234

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com//advisories
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add Github Action to Publish to GHCR</issue_title>
<issue_description>The docker needs to be published for easy deployment.

Use git flow branching schema, and make PR from feature/ branch to develop.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: zgypa <5678168+zgypa@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Action to publish Docker to GHCR Add GitHub Action to publish Docker images to GHCR Dec 1, 2025
Copilot AI requested a review from zgypa December 1, 2025 22:48
@zgypa zgypa changed the base branch from main to develop December 1, 2025 23:09
@zgypa zgypa marked this pull request as ready for review December 1, 2025 23:17
@zgypa zgypa merged commit 5046d83 into develop Dec 1, 2025
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.

Add Github Action to Publish to GHCR

2 participants