@@ -29,31 +29,19 @@ jobs:
2929 uses : docker/metadata-action@v5
3030 with :
3131 images : |
32- ghcr.io/${{ github.repository }}/mail-service
33- ghcr.io/${{ github.repository }}/user-service
32+ ghcr.io/${{ github.repository }}/owl-api
3433 ghcr.io/${{ github.repository }}/lark-ui
35- ghcr.io/${{ github.repository }}/gateway
3634 tags : |
3735 type=ref,event=branch
3836 type=sha,prefix={{branch}}-
3937 type=raw,value=latest,enable={{is_default_branch}}
4038
41- - name : Build and push owl-api mail-service
39+ - name : Build and push owl-api
4240 uses : docker/build-push-action@v5
4341 with :
4442 context : .
45- file : ./owl-api/mail-service/Dockerfile
46- tags : ghcr.io/${{ github.repository }}/mail-service:latest,ghcr.io/${{ github.repository }}/mail-service:${{ github.sha }}
47- push : true
48- cache-from : type=gha
49- cache-to : type=gha,mode=max
50-
51- - name : Build and push owl-api user-service
52- uses : docker/build-push-action@v5
53- with :
54- context : .
55- file : ./owl-api/user-service/Dockerfile
56- tags : ghcr.io/${{ github.repository }}/user-service:latest,ghcr.io/${{ github.repository }}/user-service:${{ github.sha }}
43+ file : ./owl-api/Dockerfile
44+ tags : ghcr.io/${{ github.repository }}/owl-api:latest,ghcr.io/${{ github.repository }}/owl-api:${{ github.sha }}
5745 push : true
5846 cache-from : type=gha
5947 cache-to : type=gha,mode=max
6856 cache-from : type=gha
6957 cache-to : type=gha,mode=max
7058
71- - name : Build and push gateway
72- uses : docker/build-push-action@v5
73- with :
74- context : .
75- file : ./gateway/Dockerfile
76- tags : ghcr.io/${{ github.repository }}/gateway:latest,ghcr.io/${{ github.repository }}/gateway:${{ github.sha }}
77- push : true
78- cache-from : type=gha
79- cache-to : type=gha,mode=max
0 commit comments