mirror of
https://github.com/docker/setup-buildx-action.git
synced 2024-11-22 08:54:57 +00:00
Merge pull request #6 from tonistiigi/fix-validate-yarn
dockerfile: fix validate-yarn target
This commit is contained in:
commit
0cb01eddd0
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ FROM scratch AS update-yarn
|
||||||
COPY --from=deps /src/yarn.lock /
|
COPY --from=deps /src/yarn.lock /
|
||||||
|
|
||||||
FROM deps AS validate-yarn
|
FROM deps AS validate-yarn
|
||||||
|
COPY .git .git
|
||||||
RUN status=$(git status --porcelain -- yarn.lock); if [ -n "$status" ]; then echo $status; exit 1; fi
|
RUN status=$(git status --porcelain -- yarn.lock); if [ -n "$status" ]; then echo $status; exit 1; fi
|
||||||
|
|
||||||
FROM deps AS base
|
FROM deps AS base
|
||||||
|
|
Loading…
Reference in a new issue