This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
TAG=${{ gitea.sha }}
|
||||
IMAGE=registry.neko-piranha.ts.net/astral/tsrun
|
||||
docker buildx create --use --name tsrun-bootstrap-builder || docker buildx use tsrun-bootstrap-builder
|
||||
docker buildx build --platform linux/amd64 -t $IMAGE:$TAG -t $IMAGE:latest --push .
|
||||
docker buildx build --platform linux/arm64 -t $IMAGE:$TAG -t $IMAGE:latest --push .
|
||||
|
||||
- name: Install kubectl
|
||||
run: |
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ WORKDIR /app
|
||||
COPY server ./server
|
||||
RUN bun build --target bun --minify --outfile /out/server.js ./server/index.ts
|
||||
|
||||
FROM --platform=linux/arm64 oven/bun:1.3.14-alpine
|
||||
FROM --platform=$TARGETPLATFORM oven/bun:1.3.14-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=bun-builder /out/server.js ./server.js
|
||||
COPY --from=go-builder /out/tsrun-linux ./dist/tsrun-linux
|
||||
|
||||
Reference in New Issue
Block a user