From 2c76102fc4d1e058066144da727659994e5326c5 Mon Sep 17 00:00:00 2001 From: Wang Zeng <109729945+initialencounter@users.noreply.github.com> Date: Sun, 15 Jun 2025 23:26:17 +0800 Subject: [PATCH] ci: dispatch docker build workflow after release (#1078) --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a76fcff2..f7f61d82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -150,3 +150,15 @@ jobs: NapCat.Shell.zip NapCat.Framework.Windows.Once.zip draft: true + + build-docker: + needs: release-napcat + runs-on: ubuntu-latest + steps: + - name: Dispatch Docker Build + run: | + curl -X POST \ + -H "Authorization: Bearer ${{ secrets.NAPCAT_BUILD }}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/NapNeko/NapCat-Docker/actions/workflows/docker-publish.yml/dispatches \ + -d '{"ref": "main"}'