Browse Source

Merge pull request #370 from infosiftr/use-the-force

Update "docker tag" usage to use "-f"
yosifkit 11 years ago
parent
commit
05c1d702b7
1 changed files with 1 additions and 1 deletions
  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