Merge pull request #107 from docker/sec-cli/npm-ci-20260615-142203
Some checks failed
ci / main () (push) Has been cancelled
ci / main (cloud:latest) (push) Has been cancelled
ci / main (cloud:v2.29.1-desktop.2) (push) Has been cancelled
ci / main (latest) (push) Has been cancelled
ci / main (v2.32.4) (push) Has been cancelled
ci / multi (push) Has been cancelled
ci / standalone (push) Has been cancelled
ci / cache-binary (false) (push) Has been cancelled
ci / cache-binary (true) (push) Has been cancelled
zizmor / zizmor (push) Has been cancelled
codeql / analyze (push) Has been cancelled
validate / prepare (push) Has been cancelled
test / test (push) Has been cancelled
validate / validate (push) Has been cancelled

fix: replace npm install with npm ci (20260615-142203)
This commit is contained in:
Alexandre Vallières-Lagacé 2026-06-15 11:53:25 -04:00 committed by GitHub
commit 6fe408f5ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ FROM base AS deps
RUN --mount=type=bind,target=.,rw \
--mount=type=cache,target=/src/.yarn/cache \
--mount=type=cache,target=/src/node_modules \
yarn install && mkdir /vendor && cp yarn.lock /vendor
yarn install --immutable && mkdir /vendor && cp yarn.lock /vendor
FROM scratch AS vendor-update
COPY --from=deps /vendor /