mirror of https://github.com/grpc/grpc-go.git
Update xDS client/server image per-branch tag after build (#4661)
This commit is contained in:
parent
997ce619eb
commit
c7c1e9e0ec
|
@ -43,6 +43,11 @@ build_test_app_docker_images() {
|
|||
gcloud -q auth configure-docker
|
||||
docker push "${CLIENT_IMAGE_NAME}:${GIT_COMMIT}"
|
||||
docker push "${SERVER_IMAGE_NAME}:${GIT_COMMIT}"
|
||||
if [[ -n $KOKORO_JOB_NAME ]]; then
|
||||
branch_name=$(echo "$KOKORO_JOB_NAME" | sed -E 's|^grpc/go/([^/]+)/.*|\1|')
|
||||
tag_and_push_docker_image "${CLIENT_IMAGE_NAME}" "${GIT_COMMIT}" "${branch_name}"
|
||||
tag_and_push_docker_image "${SERVER_IMAGE_NAME}" "${GIT_COMMIT}" "${branch_name}"
|
||||
fi
|
||||
}
|
||||
|
||||
#######################################
|
||||
|
|
Loading…
Reference in New Issue