Skip to content

Commit

Permalink
revert version
Browse files Browse the repository at this point in the history
  • Loading branch information
munishchouhan committed May 31, 2024
1 parent 77a1c8d commit a691ce7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v1.8.0-A3
1.7.9

11 changes: 7 additions & 4 deletions src/main/groovy/io/seqera/wave/service/k8s/K8sServiceImpl.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class K8sServiceImpl implements K8sService {
}

/**
* Create a container for container image building via Kaniko
* Create a container for container image building via buildkit
*
* @param name
* The name of pod
Expand Down Expand Up @@ -395,9 +395,12 @@ class K8sServiceImpl implements K8sService {
.withCommand(args)
.withNewSecurityContext().withPrivileged(true).endSecurityContext()
} else {
container.withEnv(toEnvList(buildConfig.environment))
// buildCommand is to set entrypoint for buildkit
container.withCommand(buildConfig.buildCommand).withArgs(args)
container
//required by buildkit rootless container
.withEnv(toEnvList(buildConfig.environment))
// buildCommand is to set entrypoint for buildkit
.withCommand(buildConfig.buildCommand)
.withArgs(args)
}

// spec section
Expand Down

0 comments on commit a691ce7

Please sign in to comment.