ci: put platform name in a variable
This commit is contained in:
parent
9560e2d12b
commit
38f29890c1
|
@ -1,4 +1,8 @@
|
|||
FROM --platform=linux/amd64 oven/bun:1.1.4 AS build
|
||||
# Use build arguments for platform specification
|
||||
ARG BUILDPLATFORM=linux/amd64
|
||||
|
||||
# First stage: build
|
||||
FROM --platform=${BUILDPLATFORM} oven/bun:1.1.4 AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN bun install
|
||||
|
|
Loading…
Reference in New Issue
Block a user