Skip to content

Commit be34f9f

Browse files
committed
fix crlf
1 parent cf26961 commit be34f9f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/ci/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ fi
150150

151151
# Use es-community image for live-indexing (ES_COMMUNITY_IMAGE can be overridden via environment)
152152
ES_COMMUNITY_IMAGE=${ES_COMMUNITY_IMAGE:-quay.io/alfresco/dev:es-community}
153+
# Strip any carriage returns from the variable (Windows line endings in .env file)
154+
ES_COMMUNITY_IMAGE=${ES_COMMUNITY_IMAGE%%[[:cntrl:]]}
153155
echo "Using live-indexing image: $ES_COMMUNITY_IMAGE"
154156

155157
docker build -t alfresco-es-indexing-jdbc:latest -f tests/environment/alfresco-with-jdbc-drivers/es-connector.Dockerfile . --build-arg IMAGE_NAME="$ES_COMMUNITY_IMAGE"

0 commit comments

Comments
 (0)