mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-05 22:52:46 +00:00
parent
fc99ec87c5
commit
52f098e6ad
8
.github/workflows/e2e.yml
vendored
8
.github/workflows/e2e.yml
vendored
@ -13,15 +13,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
env:
|
||||||
|
ZITADEL_IMAGE_REGISTRY: 'ghcr.io/zitadel/zitadel'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- 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 "RELEASE_VERSION=${{ 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 release
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
run: echo "RELEASE_VERSION=${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
|
||||||
with:
|
with:
|
||||||
@ -30,8 +32,6 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
run: docker compose run e2e
|
run: docker compose run e2e
|
||||||
working-directory: e2e
|
working-directory: e2e
|
||||||
env:
|
|
||||||
ZITADEL_IMAGE: ghcr.io/zitadel/zitadel:${RELEASE_VERSION}
|
|
||||||
- name: Archive production tests
|
- name: Archive production tests
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user