mirror of https://github.com/linkerd/linkerd2.git
19 lines
330 B
Bash
Executable File
19 lines
330 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 "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
. $bindir/_docker.sh
|
|
|
|
for img in cli-bin cni-plugin controller debug grafana proxy proxy-init web ; do
|
|
docker_retag "$img" "$from" "$to"
|
|
done
|