mirror of https://github.com/linkerd/linkerd2.git
20 lines
333 B
Bash
Executable File
20 lines
333 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 )
|
|
|
|
# shellcheck source=_docker.sh
|
|
. "$bindir"/_docker.sh
|
|
|
|
for img in cli-bin cni-plugin controller debug grafana proxy web ; do
|
|
docker_retag $img "$from" "$to"
|
|
done
|