From 933e0d11dfc90daf768a1da4d1eb68cbd1bc7d75 Mon Sep 17 00:00:00 2001 From: Shilong Liu Date: Mon, 13 Jun 2022 11:15:00 +0800 Subject: [PATCH] [build] Fix issue between reproducible build and dood. (#11084) --- scripts/collect_docker_version_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/collect_docker_version_files.sh b/scripts/collect_docker_version_files.sh index 73f0a9b53198..546d8458f259 100755 --- a/scripts/collect_docker_version_files.sh +++ b/scripts/collect_docker_version_files.sh @@ -5,7 +5,7 @@ TARGET_PATH=$2 [ -z "$TARGET_PATH" ] && TARGET_PATH=./target -DOCKER_IMAGE_NAME=$(echo $DOCKER_IMAGE | cut -d: -f1) +DOCKER_IMAGE_NAME=$(echo $DOCKER_IMAGE | cut -d: -f1 | sed "s/-$DOCKER_USERNAME\$//") DOCKER_CONTAINER=$DOCKER_IMAGE_NAME TARGET_VERSIONS_PATH=$TARGET_PATH/versions/dockers/$DOCKER_IMAGE_NAME