🙈 Updates ignore files

This commit is contained in:
akritikos committed 2026-03-20 13:48:26 +02:00
1 parent dde7dbe5c4
commit eea714e68b
3 files changed
+19 -6

No files matched your search

+2 -2
View File
@@ -79,10 +79,10 @@ RUN --mount=type=cache,target=/root/.nuget/packages \
FROM node:lts-alpine AS openapi-lint
RUN npm install -g @stoplight/spectral-cli
WORKDIR /openapi
COPY --link .spectral.yaml .
COPY --link .spectral.yaml /tmp/.spectral.yaml
COPY --link --from=build /source/artifacts/OpenApi/ .
RUN if ls *.json 1>/dev/null 2>&1; then \
spectral lint ./*.json --fail-severity=error; \
spectral lint ./*.json -r /tmp/.spectral.yaml --fail-severity=error; \
else \
echo "No OpenAPI documents found, skipping lint"; \
fi