ci: shallow clone (depth 1) + fix dockerignore for Dockerfile.fast

- Change git clone depth from 50 to 1 (faster checkout)
- Keep vendor/ and public/build/ in Docker context (needed by Dockerfile.fast)
This commit is contained in:
kelly
2025-12-15 20:32:47 -07:00
parent 08dc3b389a
commit 6dd53f17ae
2 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ node_modules
npm-debug.log
yarn-error.log
# Composer
/vendor
# Composer (NOT excluded - Dockerfile.fast needs pre-built vendor)
# /vendor
# Environment
.env
@@ -58,7 +58,7 @@ docker-compose.*.yml
# Build artifacts
/public/hot
/public/storage
/public/build
# /public/build - NOT excluded, Dockerfile.fast needs pre-built assets
# Misc
.env.backup

View File

@@ -23,7 +23,7 @@ clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 50
depth: 1
lfs: false
partial: false