mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-06-13 09:16:28 +00:00
fix: use lockfile-aware install commands
This commit is contained in:
parent
22b48a429f
commit
cfdae34ead
1 changed files with 1 additions and 1 deletions
|
|
@ -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 /
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue