linkerd2/bin/docker-retag-all

19 lines
302 B
Bash
Executable File

#!/bin/bash
set -eu
if [ $# -ne 2 ]; then
echo "usage: ${0##*/} from-tag to-tag" >&2
exit 64
fi
from=$1
to=$2
bindir=$( cd "${BASH_SOURCE[0]%/*}" && pwd )
. "$bindir"/_docker.sh
for img in cli-bin cni-plugin controller debug grafana proxy web ; do
docker_retag $img "$from" "$to"
done