Skip to content

Commit 7974deb

Browse files
Merge pull request #15 from AutisticShark/pr
feat: add arm64 docker & update node
2 parents 386dfc7 + 03efcb9 commit 7974deb

File tree

6 files changed

+667
-244
lines changed

6 files changed

+667
-244
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,16 @@ jobs:
4545
type=semver,pattern={{major}}
4646
type=raw,value=latest,enable={{is_default_branch}}
4747
48+
- name: Set up QEMU
49+
uses: docker/setup-qemu-action@v3
50+
51+
- name: Set up Docker Buildx
52+
uses: docker/setup-buildx-action@v3
53+
4854
- name: Build and push Docker images
4955
uses: docker/build-push-action@v6
5056
with:
57+
platforms: linux/amd64,linux/arm64
5158
context: .
5259
push: true
5360
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [18, 20]
20+
node-version: [20, 22, 24]
2121
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2222

2323
steps:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM node:20-slim AS build
1+
FROM node:24-slim AS build
22
WORKDIR /app
33
COPY . .
44
RUN npm ci
55
RUN npm run build
66

7-
FROM node:20-slim AS prod
7+
FROM node:24-slim AS prod
88
EXPOSE 3000
99
WORKDIR /app
1010
COPY --from=build /app/dist /app/dist

0 commit comments

Comments
 (0)