Explorar o código

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

Tianon Gravi %!s(int64=11) %!d(string=hai) anos
pai
achega
c6462ff90e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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