diff --git a/docker_run.sh b/docker_run.sh index a93b850436be2cc027677263b352111b1a385c44..7d503da693cebcd35a8368d802da84a0a6914269 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -7,7 +7,7 @@ # with the current directory mounted at /submission inside the container. # Step 1: Define the name of the Docker image. -LAST_COMMIT_HASH=$(git rev-parse HEAD) +LAST_COMMIT_HASH=$(git rev-parse --short HEAD) IMAGE_NAME="aicrowd/amazon-kddcup24-submission:${LAST_COMMIT_HASH}" # Step 2: Build the Docker image.