File tree Expand file tree Collapse file tree 3 files changed +47
-89
lines changed Expand file tree Collapse file tree 3 files changed +47
-89
lines changed Original file line number Diff line number Diff line change 1
- name : Docker Image CI
1
+ name : Docker Image CI Test
2
+
2
3
on :
3
4
workflow_dispatch : # 允许手动触发工作流
4
5
5
6
jobs :
6
7
build :
7
8
runs-on : ubuntu-latest
8
- strategy :
9
- matrix :
10
- architecture : [amd64, arm64]
11
9
12
10
steps :
13
11
- name : Checkout code
@@ -26,26 +24,53 @@ jobs:
26
24
username : ${{ github.actor }} # 使用当前 GitHub 用户名
27
25
password : ${{ secrets.CR_TOKEN }} # 使用您刚刚添加的个人访问令牌
28
26
27
+ - name : show local dir
28
+ run : |
29
+ pwd
30
+ ls -l
31
+ ls -l ./runtime
32
+
29
33
- name : Build and push
30
34
uses : docker/build-push-action@v2
31
35
with :
32
- context : .
33
- file : ./Dockerfile_frontend
36
+ context : ./runtime
37
+ file : ./runtime/Dockerfile.no-package
34
38
push : true
35
- tags : ghcr.io/codefuse-ai/ekgfrontend:0.1.0
39
+ tags : ghcr.io/lightislost/runtime:0.1.0
40
+ platforms : |
41
+ linux/amd64
42
+ linux/arm64
36
43
37
44
- name : Build and push
38
45
uses : docker/build-push-action@v2
39
46
with :
40
47
context : .
41
- file : ./Dockerfile
48
+ file : ./Dockerfile_frontend
42
49
push : true
43
- tags : ghcr.io/codefuse-ai/ekgservice:0.1.0
44
-
50
+ tags : ghcr.io/lightislost/ekgfrontend:0.1.0
51
+ platforms : |
52
+ linux/amd64
53
+ linux/arm64
54
+
45
55
- name : Build and push
46
56
uses : docker/build-push-action@v2
47
57
with :
48
- context : ./runtime
49
- file : Dockerfile.no-package
58
+ context : .
59
+ file : ./Dockerfile_gh
50
60
push : true
51
- tags : ghcr.io/codefuse-ai/runtime:0.1.0
61
+ tags : ghcr.io/lightislost/ekgservice:0.1.0
62
+ platforms : |
63
+ linux/amd64
64
+ linux/arm64
65
+
66
+
67
+ # - name: Build and push
68
+ # uses: docker/build-push-action@v2
69
+ # with:
70
+ # context: .
71
+ # file: ./Dockerfile_frontend
72
+ # push: true
73
+ # tags: ghcr.io/lightislost/ekgfrontend:latest
74
+ # platforms: |
75
+ # linux/amd64
76
+ # linux/arm64
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ FROM python:3.9-bookworm
2
+
3
+ WORKDIR /home/user
4
+
5
+ COPY ./requirements.txt /home/user/docker_requirements.txt
6
+
7
+ RUN pip install -r /home/user/docker_requirements.txt --retries 5 --timeout 120
8
+
9
+ CMD ["bash"]
You can’t perform that action at this time.
0 commit comments