linkerd2/bin/docker-images

25 lines
540 B
Bash
Executable File

#!/bin/sh
set -eu
. bin/_docker.sh
. bin/_tag.sh
docker_image() {
repo="$(docker_repo "$1")"
docker image ls \
--format "{{printf \"%-16s %-10s\" \"$1\" \"${2}\"}} {{.Size | printf \"%6s\"}} {{.ID}} {{.CreatedAt}}" \
"${repo}:${2}"
}
tag=$(head_root_tag)
docker_image controller "${tag}"
docker_image proxy "${tag}"
docker_image proxy-init "${tag}"
docker_image web "${tag}"
docker_image cli "${tag}"
docker_image cli-bin "${tag}"
docker_image go-deps "$(go_deps_sha)"