Skip to content

Commit cf83ff4

Browse files
Merge pull request #14886 from stevekuznetsov/skuznets/better-push-logging
Add better logging to hack/push-release.sh
2 parents 7d28dcb + 4c923e8 commit cf83ff4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hack/push-release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ if [[ "${tag}" == ":latest" ]]; then
6868
if [[ "${OS_PUSH_BASE_IMAGES-}" != "" ]]; then
6969
for image in "${base_images[@]}"; do
7070
if [[ "${OS_PUSH_BASE_REGISTRY-}" != "" ]]; then
71+
os::log::info "Pushing ${image}:${source_tag} to ${OS_PUSH_BASE_REGISTRY}${image}${tag}..."
7172
docker tag "${image}:${source_tag}" "${OS_PUSH_BASE_REGISTRY}${image}${tag}"
7273
fi
74+
os::log::info "Pushing ${OS_PUSH_BASE_REGISTRY-}${image}${tag}..."
7375
docker push ${PUSH_OPTS} "${OS_PUSH_BASE_REGISTRY-}${image}${tag}"
7476
done
7577
fi
@@ -92,11 +94,13 @@ fi
9294

9395
if [[ "${OS_PUSH_BASE_REGISTRY-}" != "" || "${tag}" != "" ]]; then
9496
for image in "${images[@]}"; do
97+
os::log::info "Tagging ${image}:${source_tag} as ${OS_PUSH_BASE_REGISTRY-}${image}${tag}..."
9598
docker tag "${image}:${source_tag}" "${OS_PUSH_BASE_REGISTRY-}${image}${tag}"
9699
done
97100
fi
98101

99102
for image in "${images[@]}"; do
103+
os::log::info "Pushing ${OS_PUSH_BASE_REGISTRY-}${image}${tag}..."
100104
docker push ${PUSH_OPTS} "${OS_PUSH_BASE_REGISTRY-}${image}${tag}"
101105
done
102106

0 commit comments

Comments
 (0)