-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (41 loc) · 1.12 KB
/
staging.yml
File metadata and controls
44 lines (41 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build and Deploy to Staging
on:
push:
branches: [ staging ]
paths-ignore:
- '.codacy.yaml'
- '.env.example'
- '.gitignore'
- 'compose.yaml'
- 'helios-example-realm.json'
- 'LICENSE'
- 'openapitools.json'
- 'README.md'
- '.github/**'
- '!.github/workflows/staging.yml'
- '!.github/workflows/prod.yml'
- '!.github/workflows/build_docker.yml'
- '!.github/workflows/deploy_docker.yml'
- '.vscode/**'
- 'docs/**'
concurrency:
group: staging
cancel-in-progress: true
jobs:
validate-flyway:
uses: ./.github/workflows/flyway-validate.yml
build-staging-container:
needs: validate-flyway
uses: ./.github/workflows/build_docker.yml
secrets: inherit
deploy-staging-container:
needs: build-staging-container
uses: ./.github/workflows/deploy_docker.yml
secrets: inherit
with:
environment: staging
client_image_tag: "staging"
application_server_image_tag: "staging"
notification_server_image_tag: "staging"
webhook_listener_image_tag: "staging"
keycloak_image_tag: "staging"