From 5134e619c76f13d93cf743096b09e784f9904f6b Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 9 Oct 2018 15:13:01 +0800 Subject: [PATCH] fix drone mssql --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index ea72b0aa..7b28abf4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,8 +57,8 @@ pipeline: init_mssql: image: microsoft/mssql-server-linux:2017-CU11 commands: - - echo 'CREATE DATABASE xorm_test' > create.sql - - /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "yourStrong(!)Password" -i "create.sql" + - echo 'CREATE DATABASE xorm_test' > ./create.sql + - /opt/mssql-tools/bin/sqlcmd -S mssql -U sa -P "yourStrong(!)Password" -i ./create.sql build: image: golang:${GO_VERSION}