34
34
- '.github/workflows/build-push-images.yaml'
35
35
- 'operator/images/cluster-setup/**'
36
36
- 'shared/**'
37
- quay-upload:
38
- - '.github/workflows/build-push-images.yaml'
39
- - 'ci/images/quay-upload/**'
40
- update-pipeline-service:
41
- - '.github/workflows/build-push-images.yaml'
42
- - 'operator/images/update-pipeline-service/**'
43
- - 'shared/**'
44
37
dependencies-update:
45
38
- '.github/workflows/build-push-images.yaml'
46
39
- 'developer/images/dependencies/**'
@@ -49,10 +42,21 @@ jobs:
49
42
- '.github/workflows/build-push-images.yaml'
50
43
- 'developer/images/devenv/**'
51
44
- 'shared/**'
45
+ e2e-test-runner:
46
+ - '.github/workflows/build-push-images.yaml'
47
+ - 'ci/images/e2e-test-runner/**'
48
+ - 'shared/**'
49
+ quay-upload:
50
+ - '.github/workflows/build-push-images.yaml'
51
+ - 'ci/images/quay-upload/**'
52
52
static-checks:
53
53
- '.github/workflows/build-push-images.yaml'
54
54
- 'ci/images/static-checks/**'
55
55
- 'shared/**'
56
+ update-pipeline-service:
57
+ - '.github/workflows/build-push-images.yaml'
58
+ - 'operator/images/update-pipeline-service/**'
59
+ - 'shared/**'
56
60
vulnerability:
57
61
- '.github/workflows/build-push-images.yaml'
58
62
- 'ci/images/vulnerability-scan/**'
@@ -309,6 +313,42 @@ jobs:
309
313
run : |
310
314
./ci/images/quay-upload/image-upload.sh --debug
311
315
316
+ # Build and push e2e-test-runner image, tagged with latest and the commit SHA.
317
+ - name : Build e2e-test-runner Image
318
+ id : build-image-e2e-test-runner
319
+ if : steps.filter.outputs.e2e-test-runner == 'true'
320
+ uses : redhat-actions/buildah-build@v2
321
+ with :
322
+ image : e2e-test-runner
323
+ context : .
324
+ tags : latest ${{ steps.vars.outputs.sha_short }} ${{ github.ref_name }}
325
+ containerfiles : |
326
+ ./ci/images/e2e-test-runner/Dockerfile
327
+ - name : Push to quay.io
328
+ id : push-to-quay-e2e-test-runner
329
+ if : steps.filter.outputs.e2e-test-runner == 'true'
330
+ uses : redhat-actions/push-to-registry@v2
331
+ with :
332
+ image : ${{ steps.build-image-e2e-test-runner.outputs.image }}
333
+ tags : ${{ steps.build-image-e2e-test-runner.outputs.tags }} ${{ github.ref_name }}
334
+ registry : quay.io/redhat-pipeline-service
335
+ username : ${{ secrets.QUAY_USERNAME }}
336
+ password : ${{ secrets.QUAY_TOKEN }}
337
+ - name : Print image url
338
+ if : steps.filter.outputs.e2e-test-runner == 'true'
339
+ run : |
340
+ echo "Image pushed to ${{ steps.push-to-quay-e2e-test-runner.outputs.registry-paths }}"
341
+ - name : Tag latest commit ID to quay.io
342
+ id : tag-commit-quay-e2e-test-runner
343
+ if : steps.filter.outputs.e2e-test-runner != 'true'
344
+ env :
345
+ image : e2e-test-runner
346
+ registry : quay.io/redhat-pipeline-service
347
+ username : ${{ secrets.QUAY_USERNAME }}
348
+ password : ${{ secrets.QUAY_TOKEN }}
349
+ run : |
350
+ ./ci/images/quay-upload/image-upload.sh --debug
351
+
312
352
# Build and push static-checks image, tagged with latest and the commit SHA.
313
353
- name : Build static-checks Image
314
354
id : build-image-static-checks
0 commit comments