Skip to content

Commit

Permalink
Update mssql in builds to latest 2022 version (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Namoshek authored Aug 11, 2024
1 parent 7a3852b commit c95cdaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/create-and-test-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
runs-on: ubuntu-latest
services:
sqlsrv:
image: mcr.microsoft.com/mssql/server:2019-latest
image: mcr.microsoft.com/mssql/server:2022-latest
env:
ACCEPT_EULA: Y
MSSQL_PID: Developer
SA_PASSWORD: ${{ secrets.TESTS_SQLSRV_DB_SECRET }}
ports:
- 1433:1433
options: >-
--health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -Q 'SELECT 1' || exit 1"
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -No -Q 'SELECT 1' || exit 1"
--health-interval 10s
--health-timeout 3s
--health-retries 20
Expand Down

0 comments on commit c95cdaf

Please sign in to comment.