CI / build (pull_request) Successful in 14s
Deny-all with explicit allows (Cargo files, src/, init/, kernel/config). Previously the full linux submodule was shipped into every build context.
11 lines
235 B
Plaintext
11 lines
235 B
Plaintext
# Build context: deny everything, then allow only what the Containerfile needs.
|
|
# Keeps the linux submodule (and example/, .gitea/, README, etc.) out of the build.
|
|
*
|
|
!Cargo.toml
|
|
!Cargo.lock
|
|
!src/
|
|
!src/**
|
|
!init/
|
|
!init/**
|
|
!kernel/config
|