From 7d991e53ed7b94daa2bbfec33a1200d78cb2f0ef Mon Sep 17 00:00:00 2001 From: "Giau. Tran Minh" Date: Thu, 25 Jul 2024 13:33:06 +0700 Subject: [PATCH] .github/workflows: fixed sqlserver2022 break see: https://github.com/microsoft/mssql-docker/issues/892 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a018ab6..e91ed4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -335,7 +335,7 @@ jobs: ports: - 1433:1433 options: >- - --health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P \"${MSSQL_SA_PASSWORD}\" -Q \"SELECT 1\"" + --health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -U sa -P \"${MSSQL_SA_PASSWORD}\" -Q \"SELECT 1\"" --health-interval 10s --health-timeout 5s --health-retries 5 @@ -348,7 +348,7 @@ jobs: ports: - 1434:1433 options: >- - --health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P \"${MSSQL_SA_PASSWORD}\" -Q \"SELECT 1\"" + --health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -U sa -P \"${MSSQL_SA_PASSWORD}\" -Q \"SELECT 1\"" --health-interval 10s --health-timeout 5s --health-retries 5