[build] Fix issue between reproducible build and dood. (#11084) (#12845)

This commit is contained in:
Liu Shilong 2022-11-28 20:13:02 +08:00 committed by mssonicbld
parent 5275cf79a4
commit 7ca8c9a50a

View File

@ -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