ci: copy markdownlint config into cicd image
All checks were successful
CICD Start / Sanity and Base Decision (pull_request) Successful in 21s
All checks were successful
CICD Start / Sanity and Base Decision (pull_request) Successful in 21s
This commit is contained in:
@@ -59,6 +59,7 @@ RUN --mount=type=secret,id=ssh_private_key \
|
||||
cp /tmp/repo/frontend/yarn.lock /workspace/frontend/ 2>/dev/null || echo "No frontend yarn.lock" && \
|
||||
cp /tmp/repo/frontend/.yarnrc.yml /workspace/frontend/ 2>/dev/null || echo "No frontend .yarnrc.yml" && \
|
||||
cp /tmp/repo/.pre-commit-config.yaml /workspace/ 2>/dev/null || echo "No pre-commit config" && \
|
||||
cp /tmp/repo/.markdownlint.yaml /workspace/ 2>/dev/null || echo "No markdownlint config" && \
|
||||
echo "✓ Dependency files extracted for optimized layer caching" && \
|
||||
rm -rf ~/.ssh
|
||||
|
||||
@@ -160,7 +161,7 @@ RUN echo "Copying source code while preserving installed dependencies..." && \
|
||||
fi; \
|
||||
done && \
|
||||
# Copy common hidden root files without touching . or ..
|
||||
for dotfile in .dockerignore .gitignore .pre-commit-config.yaml .editorconfig; do \
|
||||
for dotfile in .dockerignore .gitignore .pre-commit-config.yaml .markdownlint.yaml .editorconfig; do \
|
||||
if [ -f "/tmp/repo/${dotfile}" ]; then \
|
||||
cp -f "/tmp/repo/${dotfile}" /workspace/; \
|
||||
fi; \
|
||||
|
||||
Reference in New Issue
Block a user