I am sorry

This commit is contained in:
2025-05-27 12:52:31 +03:00
parent bdfcad51ad
commit e0e7dc195a
2 changed files with 16 additions and 21 deletions

View File

@@ -22,15 +22,17 @@ def call(String appName, String helmChartPath, String helmRepoName,String helmCh
stage('Docker build & push') {
container(containerName) {
script {
dockerBuilder.dockerBuildAndPush(
sh dockerBuilder.getDockerdCommand(env.NEXUS_DOCKER_URL, useInsecureRegistry)
sh dockerBuilder.getDockerBuildCommands(
env.NEXUS_DOCKER_URL,
appName,
"./Dockerfile",
"target",
"admin",
env.NEXUS_DOCKER_PASS,
useInsecureRegistry
)
env.NEXUS_DOCKER_PASS
).each { cmd ->
sh cmd
}
}
}
}