fix(jenkins): change tag jenkinsfile docker build script (#207)

change

Co-authored-by: vincent <419436363@qq.com>
This commit is contained in:
ChuhanJin 2023-02-10 09:24:54 +08:00 committed by GitHub
parent 5caecc87cf
commit f2c39ae574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,8 @@ pipeline {
return;
}
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}"
}
}