update
All checks were successful
/ start-services (push) Successful in 2s
/ build-services (app/auth_service/Dockerfile, auth, auth) (push) Successful in 40s
/ build-services (app/ecpm_service/Dockerfile, ecpm, ecpm) (push) Successful in 38s
/ build-services (app/ranking_service/Dockerfile, ranking, ranking) (push) Successful in 40s
/ build-services (app/user_service/Dockerfile, user, user) (push) Successful in 40s

This commit is contained in:
xiabin 2025-02-14 17:48:16 +08:00
parent b873d28106
commit c38090af5a
9 changed files with 12 additions and 12 deletions

View File

@ -9,16 +9,16 @@ jobs:
matrix:
include:
- service: user
dockerfile: app/user/Dockerfile
dockerfile: app/user_service/Dockerfile
image: user
- service: ranking
dockerfile: app/ranking/Dockerfile
dockerfile: app/ranking_service/Dockerfile
image: ranking
- service: ecpm
dockerfile: app/ecpm/Dockerfile
dockerfile: app/ecpm_service/Dockerfile
image: ecpm
- service: auth
dockerfile: app/auth/Dockerfile
dockerfile: app/auth_service/Dockerfile
image: auth
steps:
- uses: https://gitea.youtukeji.com.cn/actions/checkout@v4

View File

@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
RUN go mod download
COPY . .
RUN go build -ldflags="-s -w" -o /app/auth ./app/auth/auth.go
RUN go build -ldflags="-s -w" -o /app/auth ./app/auth_service/auth_service.go
FROM alpine

View File

@ -13,7 +13,7 @@ import (
"google.golang.org/grpc/reflection"
)
const ServiceName = "auth"
const ServiceName = "auth_service"
func main() {
var c config.Config

View File

@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
RUN go mod download
COPY . .
RUN go build -ldflags="-s -w" -o /app/ecpm ./app/ecpm/ecpm.go
RUN go build -ldflags="-s -w" -o /app/ecpm ./app/ecpm_service/ecpm_service.go
FROM alpine

View File

@ -14,7 +14,7 @@ import (
"google.golang.org/grpc/reflection"
)
const ServiceName = "ecpm"
const ServiceName = "ecpm_service"
func main() {
flag.Parse()

View File

@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
RUN go mod download
COPY . .
RUN go build -ldflags="-s -w" -o /app/ranking ./app/ranking/ranking.go
RUN go build -ldflags="-s -w" -o /app/ranking ./app/ranking_service/ranking_service.go
FROM alpine

View File

@ -13,7 +13,7 @@ import (
"google.golang.org/grpc/reflection"
)
const ServiceName = "ranking"
const ServiceName = "ranking_service"
func main() {

View File

@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
RUN go mod download
COPY . .
RUN go build -ldflags="-s -w" -o /app/user ./app/user/user.go
RUN go build -ldflags="-s -w" -o /app/user ./app/user_service/user_service.go
FROM alpine

View File

@ -13,7 +13,7 @@ import (
"google.golang.org/grpc/reflection"
)
const ServiceName = "user"
const ServiceName = "user_service"
func main() {
flag.Parse()