fix: target arm64 deploy image
Deploy tsrun / deploy (push) Successful in 53s

This commit is contained in:
2026-07-22 14:38:55 +00:00 Unverified
parent ec30c3fa6a
commit 874b749a3a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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