Fix build.Dockerfile

This commit is contained in:
CrazyMax 2021-10-15 13:26:57 +02:00
parent 8e7a38741f
commit 1ae239f7b8
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -17,7 +17,7 @@ COPY --from=deps /vendor /
FROM deps AS vendor-validate
RUN --mount=type=bind,target=.,rw \
git add -A && cp -rf /out/* .; \
git add -A && cp -rf /vendor/* .; \
if [ -n "$(git status --porcelain -- yarn.lock)" ]; then \
echo >&2 'ERROR: Vendor result differs. Please vendor your package with "docker buildx bake vendor-update"'; \
git status --porcelain -- yarn.lock; \