Parcourir la source

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

Tianon Gravi il y a 11 ans
Parent
commit
c6462ff90e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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