File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-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@v2
13
+ with :
14
+ ref : dev
15
+ - name : Install buildx
16
+ id : buildx
17
+ uses : crazy-max/ghaction-docker-buildx@v1
18
+ with :
19
+ version : latest
20
+ - name : Login to docker hub
21
+ run : echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin
22
+ - name : Create buildx cloud environment
23
+ run : docker buildx create --driver cloud lowcoderorg/lowcoder-cloud-builder
24
+ - name : Build the all-in-one image
25
+ run : |
26
+ NODE_ENV=production docker buildx build \
27
+ --tag lowcoderorg/lowcoder-ce-frontend:dev \
28
+ -f deploy/docker/Dockerfile --no-cache \
29
+ --builder cloud-lowcoderorg-lowcoder-cloud-builder \
30
+ --platform linux/arm64/v8,linux/amd64 \
31
+ --build-arg REACT_APP_ENV=production --build-arg REACT_APP_COMMIT_ID="dev #`git rev-parse --short HEAD`" \
32
+ --push .
33
+
You can’t perform that action at this time.
0 commit comments