Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 18, 2026

Docker builds were triggering on every push and pull request, consuming unnecessary CI resources. Changed workflow to run only on version tags.

Changes

  • Removed push.branches: ["main"] trigger from docker.yml workflow
  • Removed pull_request trigger from docker.yml workflow
  • Retained push.tags: ["v*"] and workflow_dispatch triggers

Docker images now build exclusively on release tags (e.g., v0.1.1) or manual dispatch, not on every commit or PR.

Original prompt

This section details on the original issue you should resolve

<issue_title>Perf Github Workflow</issue_title>
<issue_description>Currently docker build will be trigger in every pushs and pull requests, only run docker build on tagged commit.</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.


Note

CI workflow scope change for Docker builds

  • Restricts .github/workflows/docker.yml triggers to push.tags: ["v*"] and workflow_dispatch
  • Removes push on branches (e.g., main) and pull_request triggers, preventing image builds for regular commits/PRs

Written by Cursor Bugbot for commit 9b632d0. This will update automatically on new commits. Configure here.

Co-authored-by: slhmy <31381093+slhmy@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Actions to build Docker only on tagged commits Restrict Docker builds to tagged releases only Jan 18, 2026
Copilot AI requested a review from slhmy January 18, 2026 07:13
@slhmy slhmy marked this pull request as ready for review January 18, 2026 08:20
@slhmy slhmy merged commit dd56125 into main Jan 18, 2026
2 checks passed
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.

Perf Github Workflow

2 participants