浏览代码

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

Tianon Gravi 9 年之前
父节点
当前提交
74144f4a97
共有 1 个文件被更改,包括 2 次插入0 次删除
  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) {