Jenkinsfile.public: pull latest ci image instead of building

Change-Id: Ia0e6863fdd00127336839d4d0b81306611aee177
This commit is contained in:
Sean Harvey 2021-08-16 09:38:40 +12:00
parent 2cd68bf4fb
commit d22ecf9ec0

View File

@ -2,7 +2,8 @@ pipeline {
agent {
docker {
label 'main'
image docker.build("storj-ci", "--pull git://github.com/storj/ci.git#main").id
image 'storjlabs/ci:latest'
alwaysPull true
args '-u root:root --cap-add SYS_PTRACE -v "/tmp/gomod":/go/pkg/mod -v "/tmp/npm":/npm --tmpfs "/tmp:exec,mode=777"'
}
}