mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +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"
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user