mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
chore: Suppress docker build warnings
This commit is contained in:
parent
d260e737d8
commit
95973a6c77
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -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 }}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user