Browse Source

Add extra output when we're "Using" an older dockerCacheHash, even if we didn't need to build it

Tianon Gravi 9 years ago
parent
commit
74144f4a97
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bashbrew/go/src/bashbrew/cmd-build.go

+ 2 - 0
bashbrew/go/src/bashbrew/cmd-build.go

@@ -77,6 +77,8 @@ func cmdBuild(c *cli.Context) error {
 				if err != nil {
 					return cli.NewMultiError(fmt.Errorf(`failed building %q (tags %q)`, r.RepoName, entry.TagsString()), err)
 				}
+			} else {
+				fmt.Printf("Using %s (%s)\n", cacheTag, r.Identifier())
 			}
 
 			for _, tag := range r.Tags(namespace, uniq, entry) {