ci: alway use amd64 on build stage to speed up build

This commit is contained in:
KagurazakaNyaa 2024-10-29 10:06:23 +08:00
parent 0a97ad9d70
commit d260e737d8
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
ARG EMBEDDED_JAVA_VERSION=21
FROM node:lts AS builder
FROM --platform=amd64 node:lts AS builder
WORKDIR /src
COPY . /src

View File

@ -1,4 +1,4 @@
FROM node:lts AS builder
FROM --platform=amd64 node:lts AS builder
WORKDIR /src
COPY . /src