-
Notifications
You must be signed in to change notification settings - Fork 0
181 lines (168 loc) · 7.15 KB
/
release.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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
name: Release
on:
workflow_dispatch:
push:
tags:
- '**'
concurrency:
group: ${{ github.workflow }}
env:
IMAGE_NAME: delib/iadelib
jobs:
communes:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish communes image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:communes-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
CONTEXT: '.'
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=communes.cfg'
bep:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish bep image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:bep-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
CONTEXT: '.'
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=bep.cfg'
charleroi:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish charleroi image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:charleroi-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
CONTEXT: '.'
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=charleroi.cfg'
hainaut-prov:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish hainaut-prov image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:hainaut-prov-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
CONTEXT: '.'
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=hainaut-prov.cfg'
lalouviere:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish lalouviere image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:lalouviere-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
CONTEXT: '.'
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=lalouviere.cfg'
lalouviere-cpas:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish lalouviere-cpas image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:lalouviere-cpas-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
CONTEXT: '.'
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=lalouviere-cpas.cfg'
liege:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish liege image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:liege-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=liege.cfg'
mons:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish mons image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:mons-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=mons.cfg'
namur:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish namur image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:namur-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=namur.cfg'
seraing:
runs-on: gha-runners-delib-py3
steps:
- name: Build and publish seraing image to harbor
uses: IMIO/gha/[email protected]
with:
IMAGE_NAME: ${{ env.IMAGE_NAME }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ env.IMAGE_NAME }}:seraing-${{ github.ref_name }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.DELIB_MATTERMOST_WEBHOOK_URL }}
DOCKERFILE: './docker/Dockerfile-latest'
BUILD_ARGS: 'PROFILE=seraing.cfg'