mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
📦 build: Checkout with submodules
This commit is contained in:
@@ -3,14 +3,15 @@ name: Docker Build
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
- name: Build Docker image
|
submodules: 'true'
|
||||||
id: build-image
|
- name: Build Docker image
|
||||||
uses: docker/build-push-action@v2
|
id: build-image
|
||||||
with:
|
uses: docker/build-push-action@v2
|
||||||
push: false
|
with:
|
||||||
|
push: false
|
||||||
|
|||||||
@@ -16,7 +16,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
submodules: 'true'
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ RUN corepack enable
|
|||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
|
|
||||||
WORKDIR /home/node/app/NekoMelody
|
WORKDIR /home/node/app/NekoMelody
|
||||||
RUN ls
|
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user