浏览代码

Update "docker tag" usage to use "-f"

Tianon Gravi 11 年之前
父节点
当前提交
c6462ff90e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bashbrew/bashbrew.sh

+ 1 - 1
bashbrew/bashbrew.sh

@@ -319,7 +319,7 @@ while [ "$#" -gt 0 ]; do
 				for namespace in $namespaces; do
 					if ! (
 						set -x
-						"$docker" tag "$repoTag" "$namespace/$repoTag"
+						"$docker" tag -f "$repoTag" "$namespace/$repoTag"
 					) &>> "$thisLog"; then
 						echo "- failed 'docker tag'; see $thisLog"
 						didFail=1