@@ -98,92 +98,47 @@ jobs:
98
98
with :
99
99
context : .
100
100
file : Dockerfile.webmonchow
101
- tags : |
102
- ${{ env.REGISTRY }}/${{ github.repository }}/webmonchow:${{ steps.latest_tag.outputs.latest_tag }}
103
- push : true
104
-
105
- - name : Push webmonchow with version tag only for main branch
106
- if : github.ref == 'refs/heads/main'
107
- uses : docker/build-push-action@v6
108
- with :
109
- context : .
110
- file : Dockerfile.webmonchow
111
- tags : |
112
- ${{ env.REGISTRY }}/${{ github.repository }}/webmonchow:${{ steps.tag.outputs.tag }}
101
+ tags :
102
+ - ${{ env.REGISTRY }}/${{ github.repository }}/webmonchow:${{ steps.latest_tag.outputs.latest_tag }}
103
+ - ${{ env.REGISTRY }}/${{ github.repository }}/webmonchow:${{ steps.tag.outputs.tag }}
113
104
push : true
114
105
115
106
- name : Build and push Autoreducer
116
107
uses : docker/build-push-action@v6
117
108
with :
118
109
context : .
119
110
file : Dockerfile.autoreducer
120
- tags : |
121
- ${{ env.REGISTRY }}/${{ github.repository }}/autoreducer:${{ steps.latest_tag.outputs.latest_tag }}
122
- push : true
123
-
124
- - name : Push Autoreducer with version tag only for main branch
125
- if : github.ref == 'refs/heads/main'
126
- uses : docker/build-push-action@v6
127
- with :
128
- context : .
129
- file : Dockerfile.autoreducer
130
- tags : |
131
- ${{ env.REGISTRY }}/${{ github.repository }}/autoreducer:${{ steps.tag.outputs.tag }}
111
+ tags :
112
+ - ${{ env.REGISTRY }}/${{ github.repository }}/autoreducer:${{ steps.latest_tag.outputs.latest_tag }}
113
+ - ${{ env.REGISTRY }}/${{ github.repository }}/autoreducer:${{ steps.tag.outputs.tag }}
132
114
push : true
133
115
134
116
- name : Build and push Dasmon
135
117
uses : docker/build-push-action@v6
136
118
with :
137
119
context : .
138
120
file : Dockerfile.dasmon
139
- tags : |
140
- ${{ env.REGISTRY }}/${{ github.repository }}/dasmon:${{ steps.latest_tag.outputs.latest_tag }}
141
- push : true
142
-
143
- - name : Push Dasmon with version tag only for main branch
144
- if : github.ref == 'refs/heads/main'
145
- uses : docker/build-push-action@v6
146
- with :
147
- context : .
148
- file : Dockerfile.dasmon
149
- tags : |
150
- ${{ env.REGISTRY }}/${{ github.repository }}/dasmon:${{ steps.tag.outputs.tag }}
121
+ tags :
122
+ - ${{ env.REGISTRY }}/${{ github.repository }}/dasmon:${{ steps.latest_tag.outputs.latest_tag }}
123
+ - ${{ env.REGISTRY }}/${{ github.repository }}/dasmon:${{ steps.tag.outputs.tag }}
151
124
push : true
152
125
153
126
- name : Build and push Webmon
154
127
uses : docker/build-push-action@v6
155
128
with :
156
129
context : .
157
130
file : Dockerfile.webmon
158
- tags : |
159
- ${{ env.REGISTRY }}/${{ github.repository }}/webmon:${{ steps.latest_tag.outputs.latest_tag }}
160
- push : true
161
-
162
- - name : Push Webmon with version tag only for main branch
163
- if : github.ref == 'refs/heads/main'
164
- uses : docker/build-push-action@v6
165
- with :
166
- context : .
167
- file : Dockerfile.webmon
168
- tags : |
169
- ${{ env.REGISTRY }}/${{ github.repository }}/webmon:${{ steps.tag.outputs.tag }}
131
+ tags :
132
+ - ${{ env.REGISTRY }}/${{ github.repository }}/webmon:${{ steps.latest_tag.outputs.latest_tag }}
133
+ - ${{ env.REGISTRY }}/${{ github.repository }}/webmon:${{ steps.tag.outputs.tag }}
170
134
push : true
171
135
172
136
- name : Build and push Workflow
173
137
uses : docker/build-push-action@v6
174
138
with :
175
139
context : .
176
140
file : Dockerfile.workflow
177
- tags : |
178
- ${{ env.REGISTRY }}/${{ github.repository }}/workflow:${{ steps.latest_tag.outputs.latest_tag }}
179
- push : true
180
-
181
- - name : Push Workflow with version tag only for main branch
182
- if : github.ref == 'refs/heads/main'
183
- uses : docker/build-push-action@v6
184
- with :
185
- context : .
186
- file : Dockerfile.workflow
187
- tags : |
188
- ${{ env.REGISTRY }}/${{ github.repository }}/workflow:${{ steps.tag.outputs.tag }}
141
+ tags :
142
+ - ${{ env.REGISTRY }}/${{ github.repository }}/workflow:${{ steps.latest_tag.outputs.latest_tag }}
143
+ - ${{ env.REGISTRY }}/${{ github.repository }}/workflow:${{ steps.tag.outputs.tag }}
189
144
push : true
0 commit comments