mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 21:44:44 +12:00
ci: fix docker image build
This commit is contained in:
parent
89235f32b0
commit
8deef3e93f
3 changed files with 13 additions and 0 deletions
6
.github/workflows/publish-dev-docker.yml
vendored
6
.github/workflows/publish-dev-docker.yml
vendored
|
@ -12,6 +12,12 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
uses: ./packages/actions/src/yarnCache
|
||||
|
||||
- name: Build dependencies
|
||||
run: yarn build
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
|
|
6
.github/workflows/publish-docker.yml
vendored
6
.github/workflows/publish-docker.yml
vendored
|
@ -9,6 +9,12 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
uses: ./packages/actions/src/yarnCache
|
||||
|
||||
- name: Build dependencies
|
||||
run: yarn build
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ COPY manifests .
|
|||
|
||||
RUN yarn install --immutable
|
||||
RUN rm -rf .yarn/cache
|
||||
RUN yarn workspace @discordjs/proxy-container build
|
||||
|
||||
FROM node:16-alpine AS runner
|
||||
|
||||
|
|
Loading…
Reference in a new issue