Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 38623fa

Browse files
authored
ci(docker): Add git submodule initialization step
1 parent 695ea14 commit 38623fa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
registry: ${{ env.REGISTRY }}
3232
username: ${{ github.actor }}
3333
password: ${{ secrets.GITHUB_TOKEN }}
34+
- name: Init Submodules
35+
run: git submodule update --init --recursive
3436
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
3537
- name: Extract metadata (tags, labels) for Docker
3638
id: meta

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ COPY package.json .
1616
COPY .yarn ./.yarn
1717
COPY .yarnrc.yml .
1818

19-
RUN git submodule update --init
20-
21-
2219
RUN yarn
2320
RUN yarn prisma generate
2421
RUN npm rebuild @tensorflow/tfjs-node --build-from-source

0 commit comments

Comments
 (0)