File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ name: Build fastgpt-admin images and copy image to docker hub
2
2
on :
3
3
workflow_dispatch :
4
4
push :
5
+ paths :
6
+ - ' admin/**'
5
7
branches :
6
8
- ' main'
7
9
tags :
8
10
- ' v*.*.*'
9
11
jobs :
10
- build-images :
12
+ build-admin- images :
11
13
runs-on : ubuntu-20.04
12
14
steps :
13
15
- name : Checkout
52
54
-f Dockerfile \
53
55
.
54
56
push-to-docker-hub :
55
- needs : build-images
57
+ needs : build-admin- images
56
58
runs-on : ubuntu-20.04
57
59
steps :
58
60
- name : Checkout code
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ name: Build fastgpt images and copy image to docker hub
2
2
on :
3
3
workflow_dispatch :
4
4
push :
5
+ paths :
6
+ - ' client/**'
5
7
branches :
6
8
- ' main'
7
9
tags :
8
10
- ' v*.*.*'
9
11
jobs :
10
- build-images :
12
+ build-fastgpt- images :
11
13
runs-on : ubuntu-20.04
12
14
steps :
13
15
- name : Checkout
52
54
-f Dockerfile \
53
55
.
54
56
push-to-docker-hub :
55
- needs : build-images
57
+ needs : build-fastgpt- images
56
58
runs-on : ubuntu-20.04
57
59
steps :
58
60
- name : Checkout code
You can’t perform that action at this time.
0 commit comments