git://wamblee.org
/
pipelinelib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5555597
)
robustness against empty mirror var
author
Erik Brakkee
<erik@brakkee.org>
Sun, 17 Nov 2024 19:15:54 +0000
(20:15 +0100)
committer
Erik Brakkee
<erik@brakkee.org>
Sun, 17 Nov 2024 19:15:54 +0000
(20:15 +0100)
vars/buildcontainer.groovy
patch
|
blob
|
history
diff --git
a/vars/buildcontainer.groovy
b/vars/buildcontainer.groovy
index e37145036072275d7787cad1258db56f9e5c65be..643cec461900ee3fa2ed9a1ffdcda2b0eecd5d68 100644
(file)
--- a/
vars/buildcontainer.groovy
+++ b/
vars/buildcontainer.groovy
@@
-25,7
+25,7
@@
def call(Map args) {
mirrorArg = ""
if (args.mirror) {
- mirrorArg = "--registry-mirror
${mirrorArg}
"
+ mirrorArg = "--registry-mirror
'${mirrorArg}'
"
}
container('kaniko') {
sh """