@@ -137,7 +137,7 @@ jobs:
137137
138138 - name : Build and push the jenkins agent for maven tutorial
139139 # This step builds and pushes the Jenkins agent for the Maven tutorial
140- if : contains(env.files, 'dockerfiles/maven/Dockerfile ') && env.IS_FORK != 'true'
140+ if : contains(env.files, 'dockerfiles/maven/') && env.IS_FORK != 'true'
141141 uses : docker/build-push-action@v6
142142 with :
143143 context : ./dockerfiles/maven
@@ -147,7 +147,7 @@ jobs:
147147
148148 - name : Build and push the jenkins agent for python tutorial
149149 # This step builds and pushes the Jenkins agent for the Python tutorial
150- if : contains(env.files, 'dockerfiles/python/Dockerfile ') && env.IS_FORK != 'true'
150+ if : contains(env.files, 'dockerfiles/python/') && env.IS_FORK != 'true'
151151 uses : docker/build-push-action@v6
152152 with :
153153 context : ./dockerfiles/python
@@ -157,7 +157,7 @@ jobs:
157157
158158 - name : Build and push the jenkins agent for node tutorial
159159 # This step builds and pushes the Jenkins agent for the Node.js tutorial
160- if : contains(env.files, 'dockerfiles/node/Dockerfile ') && env.IS_FORK != 'true'
160+ if : contains(env.files, 'dockerfiles/node/') && env.IS_FORK != 'true'
161161 uses : docker/build-push-action@v6
162162 with :
163163 context : ./dockerfiles/node
@@ -167,7 +167,7 @@ jobs:
167167
168168 - name : Build and push the jenkins agent for the sidekick container
169169 # This step builds and pushes the Jenkins agent for the sidekick container
170- if : contains(env.files, 'dockerfiles/sidekick/Dockerfile ') && env.IS_FORK != 'true'
170+ if : contains(env.files, 'dockerfiles/sidekick/') && env.IS_FORK != 'true'
171171 uses : docker/build-push-action@v6
172172 with :
173173 context : ./dockerfiles/sidekick
@@ -177,7 +177,7 @@ jobs:
177177
178178 - name : Build and push the jenkins agent for the agent-finding container
179179 # This step builds and pushes the Jenkins agent for the agent-finding container
180- if : contains(env.files, 'dockerfiles/agent-discovery/Dockerfile ') && env.IS_FORK != 'true'
180+ if : contains(env.files, 'dockerfiles/agent-discovery/') && env.IS_FORK != 'true'
181181 uses : docker/build-push-action@v6
182182 with :
183183 context : ./dockerfiles/agent-discovery/
@@ -187,7 +187,7 @@ jobs:
187187
188188 - name : Build and push the jenkins agent for multi-branch controller
189189 # This step builds and pushes the Jenkins agent for the multi-branch controller
190- if : contains(env.files, 'dockerfiles/multi/Dockerfile ') && env.IS_FORK != 'true'
190+ if : contains(env.files, 'dockerfiles/multi/') && env.IS_FORK != 'true'
191191 uses : docker/build-push-action@v6
192192 with :
193193 context : ./dockerfiles/multi
@@ -197,7 +197,7 @@ jobs:
197197
198198 - name : Build and push the jenkins agent for Android
199199 # This step builds and pushes the Jenkins agent for Android
200- if : contains(env.files, 'dockerfiles/android/Dockerfile ') && env.IS_FORK != 'true'
200+ if : contains(env.files, 'dockerfiles/android/') && env.IS_FORK != 'true'
201201 uses : docker/build-push-action@v6
202202 with :
203203 context : ./dockerfiles/android
@@ -207,7 +207,7 @@ jobs:
207207
208208 - name : Build and push the jenkins agent for golang tutorial
209209 # This step builds and pushes the Jenkins agent for the Golang tutorial
210- if : contains(env.files, 'dockerfiles/golang/Dockerfile ') && env.IS_FORK != 'true'
210+ if : contains(env.files, 'dockerfiles/golang/') && env.IS_FORK != 'true'
211211 uses : docker/build-push-action@v6
212212 with :
213213 context : ./dockerfiles/golang
@@ -217,7 +217,7 @@ jobs:
217217
218218 - name : Build and push the jenkins agent for cpp tutorial
219219 # This step builds and pushes the Jenkins agent for the C++ tutorial
220- if : contains(env.files, 'dockerfiles/cpp/Dockerfile ') && env.IS_FORK != 'true'
220+ if : contains(env.files, 'dockerfiles/cpp/') && env.IS_FORK != 'true'
221221 uses : docker/build-push-action@v6
222222 with :
223223 context : ./dockerfiles/cpp
@@ -227,7 +227,7 @@ jobs:
227227
228228 - name : Build and push the jenkins agent for dotnet tutorial
229229 # This step builds and pushes the Jenkins agent for the .NET tutorial
230- if : contains(env.files, 'dockerfiles/dotnet/Dockerfile ') && env.IS_FORK != 'true'
230+ if : contains(env.files, 'dockerfiles/dotnet/') && env.IS_FORK != 'true'
231231 uses : docker/build-push-action@v6
232232 with :
233233 context : ./dockerfiles/dotnet
0 commit comments