Skip to content

Commit

Permalink
clone outside the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev committed Mar 31, 2024
1 parent 1108ccb commit 0a1b1bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout lila
uses: actions/checkout@v4
with:
repository: 'lichess-org/lila'
path: 'repos/lila'

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion docker/ci.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM node:lts-bookworm as node

RUN npm install --global pnpm
RUN git clone --depth 1 https://github.com/lichess-org/lila.git /lila
COPY repos/lila /lila
COPY conf/ci.conf /lila/conf/application.conf
RUN /lila/ui/build --clean --debug --split

Expand Down

0 comments on commit 0a1b1bb

Please sign in to comment.