Skip to content

Commit

Permalink
update tag var
Browse files Browse the repository at this point in the history
  • Loading branch information
lachie83 committed Aug 29, 2017
1 parent d0cb471 commit ee00803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ volumes:[
println "Add container image tags to anchore scanning list"

def tag = image_tags_list.get(0)
def imageLine = "${config.container_repo.host}/${acct}/${config.container_repo.repo}:${args.tag}" + ' ' + env.WORKSPACE + '/Dockerfile'
def imageLine = "${config.container_repo.host}/${acct}/${config.container_repo.repo}:${tag}" + ' ' + env.WORKSPACE + '/Dockerfile'
writeFile file: 'anchore_images', text: imageLine
anchore name: 'anchore_images', inputQueries: [[query: 'list-packages all'], [query: 'list-files all'], [query: 'cve-scan all'], [query: 'show-pkg-diffs base']]

Expand Down

0 comments on commit ee00803

Please sign in to comment.