From 5d0896c25c39f8d207a2cadbf9c847999d6b9d0d Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Fri, 2 Aug 2024 15:41:28 +0200 Subject: [PATCH] build: fix sql server healthcheck --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8920b61f92..dd16bdb63d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,7 +49,7 @@ jobs: SA_PASSWORD: Lucee!1433 # password must be complex or the service won't start ports: - 1433:1433 - options: --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P ${SA_PASSWORD} -Q 'SELECT 1' || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 + options: --health-cmd="/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P ${SA_PASSWORD} -Q 'SELECT 1' || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 credentials: username: ${{ secrets.DOCKERHUB_PUBLIC_USERNAME || ' ' }} password: ${{ secrets.DOCKERHUB_PUBLIC_TOKEN || ' ' }}