mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-10-17 20:27:53 +02:00
dockerfile: fix validate-yarn target
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
1 parent
c42add735e
commit
d85dc22cf3
1 file changed
+1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user