Skip to content

Commit

Permalink
update buildpub function to add image scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
lachie83 committed Aug 29, 2017
1 parent 3309426 commit 9cec398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ volumes:[
acct : acct,
repo : config.container_repo.repo,
tags : image_tags_list,
auth_id : config.container_repo.jenkins_creds_id
auth_id : config.container_repo.jenkins_creds_id,
image_scanning: config.container_repo.image_scanning
)

// anchore image scanning configuration
Expand Down
3 changes: 2 additions & 1 deletion Jenkinsfile.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"jenkins_creds_id": "quay_creds",
"repo": "croc-hunter",
"dockeremail": ".",
"dockerfile": "./"
"dockerfile": "./",
"image_scanning": true
},
"pipeline": {
"enabled": true,
Expand Down

0 comments on commit 9cec398

Please sign in to comment.