Skip to content

feat: add repository_dispatch for automated releases#67

Open
raifdmueller wants to merge 1 commit intodocToolchain:ng-betafrom
raifdmueller:feature/release-automation-dispatch
Open

feat: add repository_dispatch for automated releases#67
raifdmueller wants to merge 1 commit intodocToolchain:ng-betafrom
raifdmueller:feature/release-automation-dispatch

Conversation

@raifdmueller
Copy link
Copy Markdown

Summary

  • Add repository_dispatch trigger to all 4 Docker build workflows
  • Make DTC_VERSION dynamic: accepts version from dispatch payload, falls back to hardcoded default
  • Backward compatible: push and manual triggers continue to work unchanged

Changed Workflows

  • standard-build.yml → event type: standard-build
  • standard-with-pandoc-build.yml → event type: standard-with-pandoc-build
  • azure-build.yml → event type: azure-build
  • jenkins-ssh-agent-build.yml → event type: jenkins-ssh-agent-build

Context

This enables the upcoming automated release workflow in the main docToolchain repo to trigger Docker image builds with a specific version via repository_dispatch.

Test plan

  • Verify existing push-triggered builds still work (fallback to v3.4.2)
  • Test repository_dispatch with payload {"version": "v4.0.0-rc1"}

🤖 Generated with Claude Code

Allow the docToolchain release workflow to trigger Docker image builds
via repository_dispatch with a version payload. Falls back to the
hardcoded version for push/manual triggers.

Co-Authored-By: Claude Opus 4.6 (1M context) <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