fix(ci): fix docker image publishing and worker builds#3013
Conversation
The v.docker.* tags pushed by the release workflow using GITHUB_TOKEN don't trigger the publish workflow (GitHub Actions limitation). Add a workflow_call to publish.yml directly from the release job. Also fix worker Containerfiles (coordinator, docker-provider, kubernetes-provider) that fail to build since the superjson vendoring change in @trigger.dev/core — run bundle-vendor before build:bundle.
|
WalkthroughThe pull request introduces a downstream workflow invocation for Docker image publishing and updates three application Containerfiles. The release workflow adds a new job that conditionally triggers the publish.yml workflow after successful artifact publication, passing the released package version as the image tag parameter. Simultaneously, the Containerfiles for the coordinator, docker-provider, and kubernetes-provider applications are updated to add a prerequisite Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (7)📓 Common learnings📚 Learning: 2026-01-15T11:50:06.067ZApplied to files:
📚 Learning: 2025-11-27T16:26:44.496ZApplied to files:
📚 Learning: 2025-02-10T10:56:31.402ZApplied to files:
📚 Learning: 2025-02-10T10:54:17.345ZApplied to files:
📚 Learning: 2026-01-15T11:50:06.067ZApplied to files:
📚 Learning: 2025-11-27T16:27:35.304ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (27)
🔇 Additional comments (5)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
v.docker.*tags pushed by the release workflow usingGITHUB_TOKENdon't trigger the publish workflow (GitHub Actions limitation to prevent infinite loops). Added aworkflow_calltopublish.ymldirectly from the release job so Docker images are built automatically after npm publish. Tags are still pushed for reference.@trigger.dev/core(fix(core): vendor superjson to fix ESM/CJS compatibility #2949). The Containerfiles now runbundle-vendorbeforebuild:bundleto generate the vendor files that esbuild needs.Context
Test plan