mirror of https://github.com/linkerd/linkerd2.git
24 lines
512 B
Bash
Executable File
24 lines
512 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
bindir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
. $bindir/_docker.sh
|
|
. $bindir/_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)
|
|
|
|
for img in cli-bin cni-plugin controller grafana proxy proxy-init web ; do
|
|
docker_image "$img" "$tag"
|
|
done
|
|
|
|
docker_image go-deps "$(go_deps_sha)"
|