From 9bf656deec6fb5b207faa5795f78dce19fe1f4ea Mon Sep 17 00:00:00 2001 From: Christian Jakob <47860090+thesephirot@users.noreply.github.com> Date: Thu, 11 Aug 2022 11:28:01 +0200 Subject: [PATCH] chore: changed trigger to follow release (#4163) * fix: changed trigger to follow release * fix: changed variable trigger --- .github/workflows/e2e.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 9c5a655104..25d8fce9e3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,8 +1,10 @@ name: "ZITADEL e2e Tests" on: - release: - types: [created] + workflow_run: + workflows: [ZITADEL Release] + types: + - completed workflow_dispatch: inputs: releaseversion: @@ -24,8 +26,8 @@ jobs: - name: Set TAG env manual trigger if: github.event_name == 'workflow_dispatch' run: echo "ZITADEL_IMAGE=${ZITADEL_IMAGE_REGISTRY}:${{ github.event.inputs.releaseversion }}" >> $GITHUB_ENV - - name: Set TAG env on release - if: github.event_name == 'release' + - name: Set TAG env on ZITADEL release + if: github.event_name == 'workflow_run' run: echo "ZITADEL_IMAGE=${ZITADEL_IMAGE_REGISTRY}:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1