1
mirror of https://github.com/docker/login-action.git synced 2026-06-12 19:07:16 +00:00

fix: use lockfile-aware install commands

This commit is contained in:
securityeng-bot[bot]
2026-06-12 18:24:59 +00:00
committed by GitHub
Unverified
parent 37a9a4b333
commit 64b25388de
+1 -1
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 /