mirror of https://github.com/google/oss-fuzz.git
[infra] do not push docker images
This commit is contained in:
parent
b339bee264
commit
3dcb9040c1
|
@ -24,16 +24,4 @@ node {
|
|||
sh "docker build $dockerOptions --pull -t ossfuzz/base infra/base-images/base"
|
||||
sh "docker build $dockerOptions -t ossfuzz/base-clang infra/base-images/base-clang"
|
||||
sh "docker build $dockerOptions -t ossfuzz/base-libfuzzer infra/base-images/base-libfuzzer"
|
||||
|
||||
stage name: 'Push Docker Images', concurrency: 1
|
||||
// login into docker
|
||||
def username = readFile('/var/secrets/dockerhub-login/username')
|
||||
def password = readFile('/var/secrets/dockerhub-login/password')
|
||||
def email = readFile('/var/secrets/dockerhub-login/email')
|
||||
|
||||
// #! is important here to disable default -x.
|
||||
sh "#!/bin/bash -e\ndocker info\ndocker version\ndocker login -u='${username}' -p='${password}' -e='${email}' https://index.docker.io/v1/"
|
||||
sh "docker push ossfuzz/base"
|
||||
sh "docker push ossfuzz/base-clang"
|
||||
sh "docker push ossfuzz/base-libfuzzer"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue