From eea714e68b9246b821d4d2764b9f4626c7248b40 Mon Sep 17 00:00:00 2001 From: Alexandros Kritikos Date: Fri, 20 Mar 2026 13:48:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=99=88=20Updates=20ignore=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .dockerignore | 18 ++++++++++++++---- .gitignore | 3 +++ docker/Dockerfile | 4 ++-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.dockerignore b/.dockerignore index 7f30de3..fab1383 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,4 @@ -**/.dockerignore -**/.env -**/.gitignore + **/.project **/.settings **/.toolstarget @@ -13,10 +11,22 @@ **/azds.yaml **/bin **/charts -**/docker-compose* **/Dockerfile* **/node_modules **/npm-debug.log **/obj **/secrets.dev.yaml **/values.dev.yaml + +**/docs +**/docker +**/artifacts +**/.idea +**/.github +**/logs +**/Logs + +**/.*ignore +.gitattributes +**/.env +compose*.yaml diff --git a/.gitignore b/.gitignore index f7fbeb5..af0fe54 100644 --- a/.gitignore +++ b/.gitignore @@ -1153,3 +1153,6 @@ TestResults artifacts/** !artifacts/**/ !artifacts/**/.gitkeep + +## Machine-specific overrides +compose.override.yaml diff --git a/docker/Dockerfile b/docker/Dockerfile index 8998af0..eb175e1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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