-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (50 loc) · 1.18 KB
/
build-full-environment.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
env:
IMAGE_NAME: "${{ github.repository }}-${{inputs.PROJECT_NAME}}"
NPMRC: ${{ secrets.NPMRC }}
permissions:
contents: read
packages: write
id-token: write
on:
pull_request_target:
types:
- closed
branches:
- 'main'
paths:
- ".github/workflows/**"
- "client/**"
- "server/**"
- "!**/README.md"
workflow_dispatch:
inputs:
TAG:
type: string
description: Additional tag to add to built images
jobs:
wfprev-api:
uses: ./.github/workflows/mvn-build.yml
secrets: inherit
with:
COMPONENT_NAME: wfprev-api
TAG: latest
COMPONENT_TYPE: server
liquibase-build:
uses: ./.github/workflows/liquibase-build.yml
secrets: inherit
with:
TAG: latest
terragrunt-deploy-dev:
uses: ./.github/workflows/terragrunt-deploy.yml
needs: [wfprev-api, liquibase-build]
with:
DEFAULT_APPLICATION_ENVIRONMENT: dev
IMAGE_TAG: latest
secrets: inherit
wfprev-ui:
uses: ./.github/workflows/client-build.yml
needs: [terragrunt-deploy-dev]
with:
DEFAULT_APPLICATION_ENVIRONMENT: dev
IMAGE_TAG: latest
secrets: inherit