Skip to content

Commit

Permalink
📦 build: Checkout with submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzuZensai committed Aug 17, 2024
1 parent 75b89ce commit b83dbca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ name: Docker Build
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build Docker image
id: build-image
uses: docker/build-push-action@v2
with:
push: false
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Build Docker image
id: build-image
uses: docker/build-push-action@v2
with:
push: false
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3

with:
submodules: 'true'
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ RUN corepack enable
RUN pnpm install

WORKDIR /home/node/app/NekoMelody
RUN ls
RUN pnpm install
RUN pnpm run build

Expand Down

0 comments on commit b83dbca

Please sign in to comment.