mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 22:13:47 +00:00
fix(jenkins): change tag jenkinsfile docker build script (#207)
change Co-authored-by: vincent <419436363@qq.com>
This commit is contained in:
parent
5caecc87cf
commit
f2c39ae574
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ pipeline {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
sh "docker login --username=${dockerUser} --password=${dockerPassword}"
|
sh "docker login --username=${dockerUser} --password=${dockerPassword}"
|
||||||
sh "docker build -t scrolltech/l2geth:${TAGNAME} ."
|
sh "docker build -t scrolltech/l2geth:latest ."
|
||||||
|
sh "docker tag scrolltech/l2geth:latest scrolltech/l2geth:${TAGNAME}"
|
||||||
sh "docker push scrolltech/l2geth:${TAGNAME}"
|
sh "docker push scrolltech/l2geth:${TAGNAME}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue