CI: add nosqlite build tag when CGO is disabled

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2022-12-18 15:21:32 +01:00
commit ad5bd18dd0
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
4 changed files with 10 additions and 7 deletions

View file

@ -15,7 +15,7 @@ ARG COMMIT_SHA
# This ARG allows to disable some optional features and it might be useful if you build the image yourself.
# For this variant we disable SQLite support since it requires CGO and so a C runtime which is not installed
# in distroless/static-* images
ARG FEATURES=nosqlite
ARG FEATURES
COPY . .