mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
chore: changed trigger to follow release (#4163)
* fix: changed trigger to follow release * fix: changed variable trigger
This commit is contained in:
parent
4014c017fa
commit
9bf656deec
10
.github/workflows/e2e.yml
vendored
10
.github/workflows/e2e.yml
vendored
@ -1,8 +1,10 @@
|
|||||||
name: "ZITADEL e2e Tests"
|
name: "ZITADEL e2e Tests"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
workflow_run:
|
||||||
types: [created]
|
workflows: [ZITADEL Release]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
releaseversion:
|
releaseversion:
|
||||||
@ -24,8 +26,8 @@ jobs:
|
|||||||
- name: Set TAG env manual trigger
|
- name: Set TAG env manual trigger
|
||||||
if: github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'workflow_dispatch'
|
||||||
run: echo "ZITADEL_IMAGE=${ZITADEL_IMAGE_REGISTRY}:${{ github.event.inputs.releaseversion }}" >> $GITHUB_ENV
|
run: echo "ZITADEL_IMAGE=${ZITADEL_IMAGE_REGISTRY}:${{ github.event.inputs.releaseversion }}" >> $GITHUB_ENV
|
||||||
- name: Set TAG env on release
|
- name: Set TAG env on ZITADEL release
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'workflow_run'
|
||||||
run: echo "ZITADEL_IMAGE=${ZITADEL_IMAGE_REGISTRY}:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "ZITADEL_IMAGE=${ZITADEL_IMAGE_REGISTRY}:${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user