Skip to content

Add GitHub Actions workflow for Docker image publishing to GHCR#2

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/create-github-workflows-pipeline
Draft

Add GitHub Actions workflow for Docker image publishing to GHCR#2
Copilot wants to merge 3 commits intomainfrom
copilot/create-github-workflows-pipeline

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 18, 2026

Automates Docker image builds and publishes to ghcr.io/hackucf/publix-discount-detector using the existing Dockerfile.k8s.

Workflow Configuration

  • Triggers: Push to main, version tags (v*.*.*), PRs (build-only), manual dispatch
  • Authentication: Built-in GITHUB_TOKEN with packages: write permission
  • Tagging: Semantic versions, SHA commits, branch refs, and latest for main branch
  • Build optimization: GitHub Actions cache, Docker Buildx

Example Usage

After merge, the image will be available at:

docker pull ghcr.io/hackucf/publix-discount-detector:latest
docker pull ghcr.io/hackucf/publix-discount-detector:v1.0.0
docker pull ghcr.io/hackucf/publix-discount-detector:sha-abc1234

Version tags create multiple image tags automatically (v1.2.3v1.2.3, v1.2, v1).

Original prompt

This section details on the original issue you should resolve

<issue_title>Create a github workflows pipeline to push docker image to ghcr.io</issue_title>
<issue_description></issue_description>

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


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 18, 2026 01:08
Co-authored-by: jontyms <64489881+jontyms@users.noreply.github.com>
Co-authored-by: jontyms <64489881+jontyms@users.noreply.github.com>
Copilot AI changed the title [WIP] Create GitHub workflows pipeline to push Docker image Add GitHub Actions workflow for Docker image publishing to GHCR Feb 18, 2026
Copilot AI requested a review from jontyms February 18, 2026 01:10
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.

Create a github workflows pipeline to push docker image to ghcr.io

2 participants