@@ -263,44 +263,58 @@ jobs:
263
263
run : docker compose --file .github/docker-compose.yml down --volumes --remove-orphans
264
264
265
265
- uses : docker/login-action@v3
266
+ if : ${{ github.actor != 'dependabot[bot]' &&
267
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
266
268
with :
267
269
username : ${{ secrets.DOCKER_USER }}
268
270
password : ${{ secrets.DOCKER_PASS }}
269
271
270
272
- name : Push webknossos image
271
- if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
273
+ if : ${{ ! startsWith(github.ref, 'refs/tags/') &&
274
+ github.actor != 'dependabot[bot]' &&
275
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
272
276
uses : ./.github/actions/retry
273
277
with :
274
278
run : docker push "scalableminds/webknossos:${{ env.DOCKER_TAG }}"
275
279
retries : 5
276
280
retry_delay_seconds : 10
277
281
- name : Push normalized webknossos image
282
+ if : ${{ github.actor != 'dependabot[bot]' &&
283
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
278
284
uses : ./.github/actions/retry
279
285
with :
280
286
run : docker push "scalableminds/webknossos:${{ env.NORMALIZED_BRANCH }}"
281
287
retries : 5
282
288
retry_delay_seconds : 10
283
289
- name : Push webknossos-datastore image
284
- if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
290
+ if : ${{ ! startsWith(github.ref, 'refs/tags/') &&
291
+ github.actor != 'dependabot[bot]' &&
292
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
285
293
uses : ./.github/actions/retry
286
294
with :
287
295
run : docker push "scalableminds/webknossos-datastore:${{ env.DOCKER_TAG }}"
288
296
retries : 5
289
297
retry_delay_seconds : 10
290
298
- name : Push normalized webknossos-datastore image
299
+ if : ${{ github.actor != 'dependabot[bot]' &&
300
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
291
301
uses : ./.github/actions/retry
292
302
with :
293
303
run : docker push "scalableminds/webknossos-datastore:${{ env.NORMALIZED_BRANCH }}"
294
304
retries : 5
295
305
retry_delay_seconds : 10
296
306
- name : Push webknossos-tracingstore image
297
- if : ${{ ! startsWith(github.ref, 'refs/tags/') }}
307
+ if : ${{ ! startsWith(github.ref, 'refs/tags/') &&
308
+ github.actor != 'dependabot[bot]' &&
309
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
298
310
uses : ./.github/actions/retry
299
311
with :
300
312
run : docker push "scalableminds/webknossos-tracingstore:${{ env.DOCKER_TAG }}"
301
313
retries : 5
302
314
retry_delay_seconds : 10
303
315
- name : Push normalized webknossos-tracingstore image
316
+ if : ${{ github.actor != 'dependabot[bot]' &&
317
+ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
304
318
uses : ./.github/actions/retry
305
319
with :
306
320
run : docker push "scalableminds/webknossos-tracingstore:${{ env.NORMALIZED_BRANCH }}"
0 commit comments