mirror of https://github.com/google/oss-fuzz.git
[infra] fixed stage syntax
This commit is contained in:
parent
715349bddc
commit
afa7a89f2c
|
@ -18,16 +18,14 @@
|
||||||
|
|
||||||
def dockerOptions="--no-cache"
|
def dockerOptions="--no-cache"
|
||||||
|
|
||||||
stage 'Build Docker Images', concurrency: 1
|
|
||||||
node {
|
node {
|
||||||
|
stage name: 'Build Docker Images', concurrency: 1
|
||||||
git url: 'https://github.com/google/oss-fuzz/'
|
git url: 'https://github.com/google/oss-fuzz/'
|
||||||
sh "docker build $dockerOptions --pull -t libfuzzer/base infra/base-images/base"
|
sh "docker build $dockerOptions --pull -t libfuzzer/base infra/base-images/base"
|
||||||
sh "docker build $dockerOptions -t libfuzzer/base-clang infra/base-images/base-clang"
|
sh "docker build $dockerOptions -t libfuzzer/base-clang infra/base-images/base-clang"
|
||||||
sh "docker build $dockerOptions -t libfuzzer/base-libfuzzer infra/base-images/base-libfuzzer"
|
sh "docker build $dockerOptions -t libfuzzer/base-libfuzzer infra/base-images/base-libfuzzer"
|
||||||
}
|
|
||||||
|
|
||||||
stage 'Push Docker Images', concurrency: 1
|
stage name: 'Push Docker Images', concurrency: 1
|
||||||
node {
|
|
||||||
// login into docker
|
// login into docker
|
||||||
def username = readFile('/var/secrets/dockerhub-login/username')
|
def username = readFile('/var/secrets/dockerhub-login/username')
|
||||||
def password = readFile('/var/secrets/dockerhub-login/password')
|
def password = readFile('/var/secrets/dockerhub-login/password')
|
||||||
|
|
Loading…
Reference in New Issue