Commit 8e494d4b1ba for nodejs
commit 8e494d4b1ba61f4048588bb7849e51475b35830f
Author: Ethan Arrowood <ethan@arrowood.dev>
Date: Wed Nov 18 10:37:18 2026 -0700
build: trigger devcontainer build from daily
Sends a node-daily event to the nodejs/devcontainer repo to trigger
a new devcontainer build upon a successful daily build. It shares
the specific associated commit so the exact devcontainer is built.
Requires: https://github.com/nodejs/devcontainer/pull/31
Signed-off-by: Ethan Arrowood <ethan@arrowood.dev>
PR-URL: https://github.com/nodejs/node/pull/67153
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Tierney Cyren <hello@bnb.im>
diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml
index 9fb09d56bbb..ebf9b1648ac 100644
--- a/.github/workflows/daily.yml
+++ b/.github/workflows/daily.yml
@@ -28,3 +28,18 @@ jobs:
sudo apt-get update && sudo apt-get install ninja-build -y
./configure --enable-lto --ninja
ninja -C out/Release
+
+ # Once main builds, tell nodejs/devcontainer to publish new nightly images from the same commit.
+ # Its build workflow listens for this `node-daily` event.
+ trigger-devcontainer:
+ needs: build-lto
+ if: github.repository == 'nodejs/node' && github.ref == 'refs/heads/main'
+ runs-on: ubuntu-slim
+ steps:
+ - name: Dispatch a nodejs/devcontainer build
+ run: |
+ gh api repos/nodejs/devcontainer/dispatches \
+ -f event_type=node-daily \
+ -f "client_payload[sha]=$GITHUB_SHA"
+ env:
+ GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}