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:
bda15eb
)
correct passing of GO env vars
author
Erik Brakkee
<erik@brakkee.org>
Sun, 17 Nov 2024 19:11:42 +0000
(20:11 +0100)
committer
Erik Brakkee
<erik@brakkee.org>
Sun, 17 Nov 2024 19:11:42 +0000
(20:11 +0100)
vars/buildcontainer.groovy
patch
|
blob
|
history
diff --git
a/vars/buildcontainer.groovy
b/vars/buildcontainer.groovy
index 98fe94ee1df1d394d26ed45964aab99fcbf33d56..e37145036072275d7787cad1258db56f9e5c65be 100644
(file)
--- a/
vars/buildcontainer.groovy
+++ b/
vars/buildcontainer.groovy
@@
-31,8
+31,8
@@
def call(Map args) {
sh """
echo "Building container with settings: ${args}"
/kaniko/executor $mirrorArg \\
- --build-arg GOPROXY="$
GOPROXY
" \\
- --build-arg GOSUMDB="$
GTOSUMDB
" \\
+ --build-arg GOPROXY="$
{env.GOPROXY}
" \\
+ --build-arg GOSUMDB="$
{env.GOSUMDB}
" \\
--dockerfile ${args.dockerfile} \\
--cache=${args.cache} --cache-ttl=${args.cachettl} \\
--context \$( pwd )/${args.context} \\