-
Notifications
You must be signed in to change notification settings - Fork 14
86 lines (78 loc) · 2.52 KB
/
Copy pathbld_all.yml
File metadata and controls
86 lines (78 loc) · 2.52 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: bld_all
permissions:
checks: write
contents: read
issues: read
pull-requests: write
on:
workflow_call:
inputs:
version_tag:
description: 'Version tag to use: (bump must also be set to none to keep a specific version'
required: false
default: '0.0.1-dev'
type: string
bump:
description: 'whether to bump the version number by a major minor patch'
required: false
default: 'patch'
type: string
ref:
description: 'git reference to use with the checkout use default_branch to have that calculated'
required: false
default: "default"
type: string
workflow_dispatch:
inputs:
version_tag:
description: 'Version_tag :- tag that will be used to tag docker containers. This should normally match the tag that you used in the git ref. e.g if you used release-1.72.22 as your git reference, this would normally be release-1.72.22'
required: false
default: 'release-0.0.1'
type: string
bump:
description: 'whether to bump the version number by a major minor patch'
required: false
default: 'patch'
type: string
ref:
description: 'git reference to use with the checkout. This should be the tag that you want to build'
required: true
default: "release-1.72.22"
type: string
jobs:
bld_ui_2:
uses: ./.github/workflows/bld_docker.yml
secrets: inherit # pass all secrets
with:
docker_name: ui-2
context: ui-2
version_tag: ${{ inputs.version_tag }}
bump: ${{ inputs.bump }}
ref: ${{ inputs.ref }}
bld_memberservice_2:
uses: ./.github/workflows/bld_docker_backend.yml
secrets: inherit # pass all secrets
with:
context: member-service-2
version_tag: ${{ inputs.version_tag }}
docker_name: memberservice2
bump: ${{ inputs.bump }}
ref: ${{ inputs.ref }}
bld_assertionservice_2:
uses: ./.github/workflows/bld_docker_backend.yml
secrets: inherit # pass all secrets
with:
context: assertion-service-2
version_tag: ${{ inputs.version_tag }}
docker_name: assertionservice2
bump: ${{ inputs.bump }}
ref: ${{ inputs.ref }}
bld_userservice_2:
uses: ./.github/workflows/bld_docker_backend.yml
secrets: inherit # pass all secrets
with:
context: user-service-2
version_tag: ${{ inputs.version_tag }}
docker_name: userservice2
bump: ${{ inputs.bump }}
ref: ${{ inputs.ref }}