Skip to content

Commit 6165eba

Browse files
committed
ci: build stock Zeppelin arm64 images
1 parent 3ef8924 commit 6165eba

2 files changed

Lines changed: 59 additions & 1 deletion

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- 'stock'
7+
paths:
8+
- package.json
9+
- package-lock.json
10+
- backend/**
11+
- dashboard/**
12+
- shared/**
13+
- Dockerfile
14+
- docker-compose.standalone.yml
15+
- .github/workflows/**
16+
17+
jobs:
18+
docker:
19+
runs-on: ubuntu-24.04-arm
20+
steps:
21+
- name: Login to GitHub Container Registry
22+
uses: docker/login-action@v3
23+
with:
24+
registry: ghcr.io
25+
username: ${{ github.repository_owner }}
26+
password: ${{ secrets.GITHUB_TOKEN }}
27+
28+
- name: Docker meta
29+
id: meta
30+
uses: docker/metadata-action@v5
31+
with:
32+
# list of Docker images to use as base name for tags
33+
images: ghcr.io/${{ github.repository }}
34+
# generate Docker tags based on the following events/attributes
35+
tags: |
36+
type=ref,event=branch
37+
type=sha
38+
39+
- name: Set up Docker Buildx
40+
uses: docker/setup-buildx-action@v3
41+
42+
- name: Build and push
43+
uses: docker/build-push-action@v6
44+
with:
45+
platforms: linux/arm64
46+
push: true
47+
cache-from: type=gha
48+
cache-to: type=gha,mode=max
49+
50+
tags: ${{ steps.meta.outputs.tags }}
51+
annotations: ${{ steps.meta.outputs.annotations }}
52+
provenance: mode=max
53+
sbom: true

dashboard/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,10 @@
3636
},
3737
"browserslist": [
3838
"last 2 Chrome versions"
39-
]
39+
],
40+
"optionalDependencies": {
41+
"@rollup/rollup-linux-arm64-gnu": "^4.43.0",
42+
"@tailwindcss/oxide-linux-arm64-gnu": "^4.1.10",
43+
"lightningcss-linux-arm64-gnu": "^1.30.1"
44+
}
4045
}

0 commit comments

Comments
 (0)