linkerd2/bin/docker-push

24 lines
417 B
Bash
Executable File

#!/bin/sh
set -eu
. bin/_tag.sh
if [ $# -eq 0 ]; then
tag="$(clean_head_root_tag)"
elif [ $# -eq 1 ]; then
tag="${1:-}"
else
echo "usage: $(basename $0) [tag]" >&2
exit 64
fi
. bin/_docker.sh
docker_push proxy "${tag}"
docker_push proxy-init "${tag}"
docker_push controller "${tag}"
docker_push web "${tag}"
docker_push cli "${tag}"
docker_push cli-bin "${tag}"