Skip to content

feat(ci): add repository_dispatch trigger to chatmail/docker for automated docker image builds#934

Merged
j4n merged 1 commit into
mainfrom
j4n/docker-build-trigger
Apr 29, 2026
Merged

feat(ci): add repository_dispatch trigger to chatmail/docker for automated docker image builds#934
j4n merged 1 commit into
mainfrom
j4n/docker-build-trigger

Conversation

@j4n
Copy link
Copy Markdown
Contributor

@j4n j4n commented Apr 23, 2026

On push to main send a repository_dispatch event to chatmail/docker with relay_ref, relay_sha, and relay_sha_short.

This triggers docker-ci.yaml to build a new Docker image from the updated relay code, push to GHCR, and eventually run integration tests via cmlxc's reusable lxc-test workflow.

Requires DOCKER_DISPATCH_TOKEN secret with repo scope on chatmail/docker.

Also set workflow_dispatch to allow manual triggering of Docker builds from any relay branch via the GitHub UI.

Closes #903

@j4n j4n requested a review from missytake April 23, 2026 11:39
@j4n j4n changed the title feat(ci): add repository_dispatch trigger to chatmail/docker feat(ci): add repository_dispatch trigger to chatmail/docker for automated docker image builds Apr 23, 2026
@j4n j4n force-pushed the j4n/docker-build-trigger branch from 9464981 to 10862fb Compare April 23, 2026 11:47
Copy link
Copy Markdown
Contributor

@missytake missytake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this go in 1.10.0?

@j4n j4n force-pushed the j4n/docker-build-trigger branch from 10862fb to 60227d7 Compare April 28, 2026 05:40
@j4n
Copy link
Copy Markdown
Contributor Author

j4n commented Apr 28, 2026

Should this go in 1.10.0?

I split off the documentation change, so we can build main for a bit and decide to publish separately.

@j4n
Copy link
Copy Markdown
Contributor Author

j4n commented Apr 28, 2026

Two issues to address before merging left:

@j4n j4n force-pushed the j4n/docker-build-trigger branch from 7e74eb4 to 15bc1c4 Compare April 28, 2026 08:27
On push to main send a repository_dispatch event to chatmail/docker with
relay_ref, relay_sha, and relay_sha_short.

This triggers docker-ci.yaml to build a new Docker image from
the updated relay code, push to GHCR, and eventually run integration
tests via cmlxc's reusable lxc-test workflow.

Requires DOCKER_DISPATCH_TOKEN secret with repo scope on
chatmail/docker.

Also set workflow_dispatch to allow manual triggering of Docker builds
from any relay branch via the GitHub UI.
@j4n j4n force-pushed the j4n/docker-build-trigger branch from 50bb989 to 882cadc Compare April 29, 2026 13:28
@j4n j4n merged commit 81a161d into main Apr 29, 2026
4 checks passed
@j4n j4n deleted the j4n/docker-build-trigger branch April 29, 2026 13:43
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