You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multirepo is only pulling the Git LFS pointers from child repos, not the actual files. Even when lfs: true and the command git lfs pull is used in the Workflow. The build works locally, but not inside the docker/build-push-action.
The run: cd .; git checkout main && git pull && git lfs pull; ls -alh child-repo/src returns a folder with the images correctly pulled in temp_dir.
But in the dockerfile, after multirepo has run the image files are now just pointers. This breaks the site that is produced:
FROM --platform=$BUILDPLATFORM python:3 AS build
WORKDIR /usr/src/app/internal
ARG GithubAccessToken
COPY internal/requirements.txt .
RUN apt-get update && apt-get install -y apt-transport-https
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . /usr/src/app/
RUN ls -alh temp_dir/child-repo/src
RUN mkdocs build
RUN ls -alh temp_dir/child-repo/src
...
Is there any way to add git lfs pull along with shallow clones of the child repos? This should preferably be an option for people using Git LFS.
The text was updated successfully, but these errors were encountered:
Multirepo is only pulling the Git LFS pointers from child repos, not the actual files. Even when
lfs: true
and the commandgit lfs pull
is used in the Workflow. The build works locally, but not inside the docker/build-push-action.The shortened workflow file:
The
run: cd .; git checkout main && git pull && git lfs pull; ls -alh child-repo/src
returns a folder with the images correctly pulled in temp_dir.But in the dockerfile, after multirepo has run the image files are now just pointers. This breaks the site that is produced:
Is there any way to add
git lfs pull
along with shallow clones of the child repos? This should preferably be an option for people using Git LFS.The text was updated successfully, but these errors were encountered: