Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vars/dockerBuild.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def call(body) {
// evaluate the body block, and collect configuration into the object
def config = body

def tags = config.get('tags',['latest'])
def tags = config.get('tags',['latest']).unique()
def dockerRepo = "${config.repo}/${config.image}"
def buildDir = config.get('dir', '.')
def dockerfile = config.get('dockerfile', 'Dockerfile')
Expand Down
2 changes: 1 addition & 1 deletion vars/dockerBuildx.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def call(body) {
// evaluate the body block, and collect configuration into the object
def config = body

def tags = config.get('tags',['latest'])
def tags = config.get('tags',['latest']).unique()
def dockerRepo = "${config.repo}/${config.image}"
def buildDir = config.get('dir', '.')
def dockerfile = config.get('dockerfile', 'Dockerfile')
Expand Down