mirror of https://github.com/google/oss-fuzz.git
[infra] updated push script
This commit is contained in:
parent
8299b73d0d
commit
a58c0d8f65
|
@ -16,8 +16,14 @@
|
|||
|
||||
// Jenkins build script to push docker images to docker repository.
|
||||
|
||||
def images = ['ossfuzz/base', 'ossfuzz/base-clang', 'ossfuzz/base-libfuzzer']
|
||||
|
||||
node() {
|
||||
docker.withRegistry('', 'docker-login') {
|
||||
docker.image('ossfuzz/base').push()
|
||||
docker.image('ossfuzz/base-clang').push()
|
||||
docker.image('ossfuzz/base-libfuzzer').push()
|
||||
for (int i = 0; i < images.size(); i++) {
|
||||
def image = images[i]
|
||||
stage name: "Pushing $image"
|
||||
docker.image(image).push()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue