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
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:
parent
b873d28106
commit
c38090af5a
@ -9,16 +9,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- service: user
|
- service: user
|
||||||
dockerfile: app/user/Dockerfile
|
dockerfile: app/user_service/Dockerfile
|
||||||
image: user
|
image: user
|
||||||
- service: ranking
|
- service: ranking
|
||||||
dockerfile: app/ranking/Dockerfile
|
dockerfile: app/ranking_service/Dockerfile
|
||||||
image: ranking
|
image: ranking
|
||||||
- service: ecpm
|
- service: ecpm
|
||||||
dockerfile: app/ecpm/Dockerfile
|
dockerfile: app/ecpm_service/Dockerfile
|
||||||
image: ecpm
|
image: ecpm
|
||||||
- service: auth
|
- service: auth
|
||||||
dockerfile: app/auth/Dockerfile
|
dockerfile: app/auth_service/Dockerfile
|
||||||
image: auth
|
image: auth
|
||||||
steps:
|
steps:
|
||||||
- uses: https://gitea.youtukeji.com.cn/actions/checkout@v4
|
- uses: https://gitea.youtukeji.com.cn/actions/checkout@v4
|
||||||
|
@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
|
|||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
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
|
FROM alpine
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"google.golang.org/grpc/reflection"
|
"google.golang.org/grpc/reflection"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ServiceName = "auth"
|
const ServiceName = "auth_service"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var c config.Config
|
var c config.Config
|
||||||
|
@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
|
|||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
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
|
FROM alpine
|
||||||
|
@ -14,7 +14,7 @@ import (
|
|||||||
"google.golang.org/grpc/reflection"
|
"google.golang.org/grpc/reflection"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ServiceName = "ecpm"
|
const ServiceName = "ecpm_service"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
|
|||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
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
|
FROM alpine
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"google.golang.org/grpc/reflection"
|
"google.golang.org/grpc/reflection"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ServiceName = "ranking"
|
const ServiceName = "ranking_service"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ RUN go env -w GOPRIVATE=gitea.youtukeji.com.cn
|
|||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY . .
|
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
|
FROM alpine
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"google.golang.org/grpc/reflection"
|
"google.golang.org/grpc/reflection"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ServiceName = "user"
|
const ServiceName = "user_service"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user