File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
matrix :
11
11
architecture : [amd64, arm64]
12
12
os : [linux]
13
- service : [runtime:0.1.0, ekgservice:0.1.0, ekgfrontend:0.1.0]
13
+ service :
14
+ -name : runtime:0.1.0
15
+ -name : ekgservice:0.1.0
16
+ -name : ekgfrontend:0.1.0
14
17
15
18
steps :
16
19
- name : Checkout code
28
31
docker login --username=${{ secrets.ALIYUN_USERNAME }} --password=${{ secrets.ALIYUN_PASSWORD }} registry.cn-hangzhou.aliyuncs.com
29
32
30
33
# 使用Dockerfile构建镜像
31
- docker pull --platform ${{ matrix.os }}/${{ matrix.architecture }} ghcr.io/codefuse-ai/${{ matrix.service }}
32
- docker tag ghcr.io/codefuse-ai/${{ matrix.service }} registry.cn-hangzhou.aliyuncs.com/muagent/${{ matrix.service }}-${{ matrix.architecture }}
33
- docker push registry.cn-hangzhou.aliyuncs.com/muagent/${{ matrix.service }}-${{ matrix.architecture }}
34
+ docker pull --platform ${{ matrix.os }}/${{ matrix.architecture }} ghcr.io/codefuse-ai/${{ matrix.service.name }}
35
+ docker tag ghcr.io/codefuse-ai/${{ matrix.service.name }} registry.cn-hangzhou.aliyuncs.com/muagent/${{ matrix.service.name }}-${{ matrix.architecture }}
36
+ docker push registry.cn-hangzhou.aliyuncs.com/muagent/${{ matrix.service.name }}-${{ matrix.architecture }}
You can’t perform that action at this time.
0 commit comments