Skip to content

Commit

Permalink
Merge pull request #1 from srizzling/append-tagged-images
Browse files Browse the repository at this point in the history
Fix bug to append tagged images to array
  • Loading branch information
srizzling authored Jun 14, 2018
2 parents 63460f1 + abf68ad commit 7e8ecbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ func main() {

var taggedImgs []string
for _, name := range config.ImageNames {
taggedImgs, err = setTag(name, tmplData, config.TagFormat, docker)
dockerTags, err := setTag(name, tmplData, config.TagFormat, docker)
if err != nil {
panic(err)
}
taggedImgs = append(taggedImgs, dockerTags...)
}

printImgs(taggedImgs)
Expand Down

0 comments on commit 7e8ecbf

Please sign in to comment.