File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ jobs:
27
27
28
28
- run : npm install
29
29
- run : npm run build
30
- - uses : actions/upload-artifact@v2
30
+
31
+ - uses : actions/upload-artifact@v4
31
32
with :
32
33
name : agileconfig-ui
33
34
path : src/AgileConfig.Server.UI/react-ui-antd/dist/
35
+
34
36
build-dotnet-push-to-hub :
35
37
needs : build-reactapp
36
38
runs-on : ubuntu-latest
@@ -41,27 +43,32 @@ jobs:
41
43
uses : actions/setup-dotnet@v1
42
44
with :
43
45
dotnet-version : 8.0.*
46
+
44
47
- name : Install dependencies
45
48
run : dotnet restore
46
49
- name : Build
47
50
run : dotnet build --configuration Release --no-restore
48
- - uses : actions/download-artifact@v2
51
+
52
+ - uses : actions/download-artifact@v4
49
53
with :
50
54
name : agileconfig-ui
51
55
path : src/AgileConfig.Server.Apisite/wwwroot/ui
56
+
52
57
- name : Push to Docker Hub
53
58
uses : docker/build-push-action@v1
54
59
with :
55
60
username : ${{ secrets.DOCKER_HUB_NAME }}
56
61
password : ${{ secrets.DOCKER_HUB_PASSWORD }}
57
62
repository : kklldog/agile_config
58
63
tags : test
64
+
59
65
- name : Login to ACR and push
60
66
uses : aliyun/acr-login@v1
61
67
with :
62
68
login-server : https://registry.cn-shanghai.aliyuncs.com
63
69
username : " ${{ secrets.ALI_REGISTRY_USERNAME }}"
64
70
password : " ${{ secrets.ALI_REGISTRY_PASSWORD }}"
71
+
65
72
- name : Build and push image
66
73
env :
67
74
IMAGE_TAG : test
You can’t perform that action at this time.
0 commit comments