chore: Suppress docker build warnings

This commit is contained in:
KagurazakaNyaa 2024-10-29 10:12:54 +08:00
parent d260e737d8
commit 95973a6c77
3 changed files with 7 additions and 2 deletions

View File

@ -47,6 +47,8 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta_web.outputs.tags }}
labels: ${{ steps.meta_web.outputs.labels }}
build-args: |
BUILDPLATFORM=linux/amd64
build-daemon:
runs-on: ubuntu-latest
@ -96,4 +98,5 @@ jobs:
tags: ${{ steps.meta_daemon.outputs.tags }}
labels: ${{ steps.meta_daemon.outputs.labels }}
build-args: |
BUILDPLATFORM=linux/amd64
JAVA_RUNTIME=${{ matrix.java_version }}

View File

@ -1,6 +1,7 @@
ARG EMBEDDED_JAVA_VERSION=21
ARG BUILDPLATFORM=linux/amd64
FROM --platform=amd64 node:lts AS builder
FROM --platform=${BUILDPLATFORM} node:lts AS builder
WORKDIR /src
COPY . /src

View File

@ -1,4 +1,5 @@
FROM --platform=amd64 node:lts AS builder
ARG BUILDPLATFORM=linux/amd64
FROM --platform=${BUILDPLATFORM} node:lts AS builder
WORKDIR /src
COPY . /src