File tree 1 file changed +36
-0
lines changed 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build lowcoder dev image
2
+
3
+ on :
4
+ push :
5
+ branches : dev
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout lowcoder from 'dev' branch
12
+ uses : actions/checkout@v4
13
+ with :
14
+ ref : dev
15
+ - name : Log into Docker Hub
16
+ uses : docker/login-action@v3
17
+ with :
18
+ username : ${{ secrets.DOCKER_LOGIN }}
19
+ password : ${{ secrets.DOCKER_PASSWORD }}
20
+ - name : Setup Docker Buildx with cloud driver
21
+ uses : docker/setup-buildx-action@v3
22
+ with :
23
+ version : " lab:latest"
24
+ driver : cloud
25
+ endpoint : " lowcoderorg/lowcoder-cloud-builder"
26
+ install : true
27
+ - name : Build the all-in-one image
28
+ run : |
29
+ NODE_ENV=production docker buildx build \
30
+ --tag lowcoderorg/lowcoder-ce-frontend:dev \
31
+ -f deploy/docker/Dockerfile --no-cache \
32
+ --builder cloud-lowcoderorg-lowcoder-cloud-builder \
33
+ --platform linux/arm64/v8,linux/amd64 \
34
+ --build-arg REACT_APP_ENV=production --build-arg REACT_APP_COMMIT_ID="dev #`git rev-parse --short HEAD`" \
35
+ --push .
36
+
You can’t perform that action at this time.
0 commit comments