summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-10-30 15:20:27 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2025-10-30 15:23:47 -0700
commitc54faf29d32befe973476bde69f8b0b25b0f1866 (patch)
tree8218f298f32d8e036041f6c0a4051623995eb89e
parent69ec1481e0ffa394ecfd4cecf67dc0a1cfa8610b (diff)
release.yml: Use workflow_dispatch for docker-images
instead of repository_dispatch. Only that workflow reacts to repository_dispatch, so just using workflow_dispatch should be enough. We want to use workflow_dispatch for manual triggers, and I don't want to maintain two different dispatch methods in the workflow.
-rw-r--r--.github/workflows/release.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index aeb116bf45..d14904d419 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -72,8 +72,8 @@ jobs:
-H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
- https://api.github.com/repos/ruby/docker-images/dispatches \
- -d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}"}}'
+ https://api.github.com/repos/ruby/docker-images/actions/workflows/build.yml/dispatches \
+ -d '{"ref": "master", "inputs": {"ruby_version": "${{ env.RUBY_VERSION }}"}}'
- name: Build snapcraft packages
run: |