use rebuilt mssql-2017 image (#32109) (#32114)

Backport #32109 by @techknowlogick

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
This commit is contained in:
Giteabot 2024-09-24 05:23:04 +08:00 committed by GitHub
parent 1f8cbbab3d
commit ae37f31df6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,11 +194,12 @@ jobs:
test-mssql: test-mssql:
if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true' if: needs.files-changed.outputs.backend == 'true' || needs.files-changed.outputs.actions == 'true'
needs: files-changed needs: files-changed
runs-on: ubuntu-latest # specifying the version of ubuntu in use as mssql fails on newer kernels
# pending resolution from vendor
runs-on: ubuntu-20.04
services: services:
mssql: mssql:
# some images before 2024-04 can't run on new kernels image: mcr.microsoft.com/mssql/server:2017-latest
image: mcr.microsoft.com/mssql/server:2019-latest
env: env:
ACCEPT_EULA: Y ACCEPT_EULA: Y
MSSQL_PID: Standard MSSQL_PID: Standard