From 54c6d6a38add5382a0db051d1db677bb07501c93 Mon Sep 17 00:00:00 2001 From: Andreea Andrisan Date: Mon, 10 Jun 2024 12:10:30 +0300 Subject: [PATCH] .github/workflows/kuiper2_0-build.yml: trigger docker images workflow Add a job that triggers docker image build workflow after a PR is merged to kuiper2.0 default branch and the job that is building the kuiper2.0 images has finished. Signed-off-by: Andreea Andrisan --- .github/workflows/kuiper2_0-build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/kuiper2_0-build.yml b/.github/workflows/kuiper2_0-build.yml index de4eadf3e3..98b3362d7a 100644 --- a/.github/workflows/kuiper2_0-build.yml +++ b/.github/workflows/kuiper2_0-build.yml @@ -56,3 +56,14 @@ jobs: with: name: ${{ env.ARTIFACT_NAME }} path: ${{ github.workspace }}/kuiper-volume + + Trigger_workflow: + needs: Build + runs-on: ubuntu-latest + if: github.event_name == 'push' + steps: + - uses: actions/checkout@v3 + - name: Trigger docker build + run: gh workflow run docker-image-build.yml --ref staging/kuiper2.0 + env: + GH_TOKEN: ${{ github.token }}