Merge pull request #568 from docker/sec-cli/npm-ci-20260612-184913
Some checks failed
zizmor / zizmor (push) Failing after 1s
validate / prepare (push) Successful in 48s
codeql / analyze (push) Failing after 1m28s
test / test (push) Successful in 2m12s
validate / validate (push) Successful in 1m51s
ci / main (v0.4.1) (push) Successful in 24s
ci / windows-error (push) Waiting to run
ci / main () (push) Successful in 36s
ci / main (cloud:latest) (push) Successful in 29s
ci / main (cloud:v0.11.2-desktop.2) (push) Failing after 31s
ci / main (lab:latest) (push) Successful in 33s
ci / main (latest) (push) Successful in 38s
ci / multi (push) Successful in 44s
ci / error (push) Failing after 46s
ci / use (false) (push) Successful in 26s
ci / use (true) (push) Successful in 27s
ci / driver (image=moby/buildkit:latest) (push) Successful in 26s
ci / driver (image=moby/buildkit:master network=host ) (push) Successful in 29s
ci / docker-driver (push) Successful in 33s
ci / endpoint (push) Failing after 25s
ci / debug (push) Successful in 48s
ci / buildkitd-config (push) Successful in 40s
ci / buildkitd-config-inline (push) Successful in 33s
ci / with-qemu (, all) (push) Successful in 41s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 31s
ci / with-qemu (v0.9.1, all) (push) Failing after 44s
ci / with-qemu (, arm64,riscv64,arm) (push) Successful in 55s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 40s
ci / build-ref (master) (push) Successful in 38s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 25s
ci / build-ref (refs/pull/731/head) (push) Failing after 35s
ci / docker-context (push) Successful in 15s
ci / standalone-cmd (push) Successful in 32s
ci / cleanup (false) (push) Successful in 22s
ci / append (push) Successful in 28s
ci / cleanup (true) (push) Successful in 23s
ci / platforms (push) Successful in 42s
ci / standalone-action (push) Successful in 51s
ci / k3s (latest) (push) Failing after 34s
ci / k3s (v0.10.5) (push) Failing after 25s
ci / k3s (v0.11.0) (push) Failing after 23s
ci / cache-binary (false) (push) Failing after 16s
ci / cache-binary (true) (push) Failing after 31s
ci / keep-state-error (push) Successful in 19s
ci / keep-state (push) Successful in 42s

fix: replace npm install with npm ci (20260612-184913)
This commit is contained in:
temenuzhka-thede
2026-06-12 14:10:56 -05:00
committed by GitHub

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 /