Skip to content

ci: auto-build DTS images on push to main#4

Open
LegalMarc wants to merge 1 commit into
mainfrom
ci/build-on-push-main
Open

ci: auto-build DTS images on push to main#4
LegalMarc wants to merge 1 commit into
mainfrom
ci/build-on-push-main

Conversation

@LegalMarc

Copy link
Copy Markdown
Contributor

What

Adds a push trigger to .github/workflows/dts-image-publish.yml so the DTS demo images (ghcr.io/contract-opf/contract-toaster-dts-{backend,frontend}:latest) rebuild automatically on every push to main. The existing workflow_dispatch (manual) trigger is kept.

Why

The workflow was manual-dispatch only, so merges to main didn't refresh the deployed image — the running deployment silently lagged the repo until someone dispatched a build manually. This makes :latest track main.

Notes

  • Header comment updated to reflect the new behavior.
  • Still tags each build :latest + :<short-sha>; packages stay private.
  • No path filter — every push to main rebuilds. If that's too eager (e.g. docs-only pushes), a paths: filter can be added in a follow-up.

🤖 Generated with Claude Code

Add a push trigger (branches: [main]) to the Publish DTS images workflow so
the deployed :latest tracks main automatically, alongside the existing manual
workflow_dispatch. Update the header comment (no longer manual-dispatch only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant