This is an automated email from the ASF dual-hosted git repository.

tzimanyi pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/main by this push:
     new 93c6bffb kie-issues#581: start kogito-ci-build container with host 
network for PRs (#1093)
93c6bffb is described below

commit 93c6bffbe0438c2dc051a739960c12472eddf511
Author: Jan Stastny <[email protected]>
AuthorDate: Wed Sep 20 16:30:53 2023 +0200

    kie-issues#581: start kogito-ci-build container with host network for PRs 
(#1093)
    
    Co-authored-by: jstastny-cz <[email protected]>
---
 dsl/scripts/pr_check.groovy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dsl/scripts/pr_check.groovy b/dsl/scripts/pr_check.groovy
index ea74d7ab..6be21050 100644
--- a/dsl/scripts/pr_check.groovy
+++ b/dsl/scripts/pr_check.groovy
@@ -6,10 +6,11 @@ dockerGroups = [
 ]
 dockerArgs = [
     '-v /var/run/docker.sock:/var/run/docker.sock',
+    '--network host',
 ] + dockerGroups.collect { group -> "--group-add ${group}" }
 
 void launch() {
-    String builderImage = 'quay.io/kiegroup/kogito-ci-build:latest'
+    String builderImage = 'quay.io/kiegroup/kogito-ci-build:main-latest'
     sh "docker rmi -f ${builderImage} || true" // Remove before launching
 
     try {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to