Skip to content

Commit

Permalink
Update scripts/build_image.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
Signed-off-by: marun <maru.newby@avalabs.org>
  • Loading branch information
marun and ceyonur committed Sep 7, 2024
1 parent 57ed20d commit e82ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ${DOCKER_CMD} -t "$DOCKER_IMAGE:$commit_hash" -t "$DOCKER_IMAGE:$image_tag" \
"$AVALANCHE_PATH" -f "$AVALANCHE_PATH/Dockerfile"

if [[ -z "${SKIP_BUILD_RACE}" ]]; then
echo "Building Docker Image with tags: $DOCKER_IMAGE:$commit_hash-r , $DOCKER_IMAGE:$image_tag-r"
echo "Building Docker Image with tags (race detector): $DOCKER_IMAGE:$commit_hash-r , $DOCKER_IMAGE:$image_tag-r"
${DOCKER_CMD} --build-arg="RACE_FLAG=-r" -t "$DOCKER_IMAGE:$commit_hash-r" -t "$DOCKER_IMAGE:$image_tag-r" \
"$AVALANCHE_PATH" -f "$AVALANCHE_PATH/Dockerfile"
fi
Expand Down

0 comments on commit e82ca53

Please sign in to comment.