-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD.bazel
96 lines (83 loc) · 2.08 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_push")
load(
"@io_bazel_rules_docker//container:container.bzl",
"container_push",
)
gazelle(
name = "gazelle",
prefix = "github.com/ryssapp/backend",
)
go_image(
name = "store-service",
binary = "//src/go/store-service:store-service",
)
container_push(
name = "store-service-push",
image = ":store-service",
format = "Docker",
registry = "docker.io",
repository = "ryss/store-service",
tag = "latest",
)
go_image(
name = "user-service",
binary = "//src/go/user-service:user-service",
)
container_push(
name = "user-service-push",
image = ":user-service",
format = "Docker",
registry = "docker.io",
repository = "ryss/user-service",
tag = "latest",
)
go_image(
name = "gateway-service",
binary = "//src/go/gateway-service:gateway-service",
)
container_push(
name = "gateway-service-push",
image = ":gateway-service",
format = "Docker",
registry = "docker.io",
repository = "ryss/gateway-service",
tag = "latest",
)
go_image(
name = "product-service",
binary = "//src/go/product-service:product-service",
)
container_push(
name = "product-service-push",
image = ":product-service",
format = "Docker",
registry = "docker.io",
repository = "ryss/store_product-service",
tag = "latest",
)
go_image(
name = "session-service",
binary = "//src/go/session-service:session-service",
)
container_push(
name = "session-service-push",
image = ":session-service",
format = "Docker",
registry = "docker.io",
repository = "ryss/session-service",
tag = "latest",
)
go_image(
name = "store-product-service",
binary = "//src/go/store-product-service:store-product-service",
)
container_push(
name = "store-product-service-push",
image = ":store-product-service",
format = "Docker",
registry = "docker.io",
repository = "ryss/store-product-service",
tag = "latest",
)