forked from dosedetelemetria/projeto-otel-na-pratica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
71 lines (60 loc) · 1.8 KB
/
.goreleaser.yaml
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
version: 2
before:
hooks:
- go mod tidy
builds:
- id: users
main: ./cmd/users
binary: users
env:
- CGO_ENABLED=0
- id: plans
main: ./cmd/plans
binary: plans
env:
- CGO_ENABLED=0
- id: subscriptions
main: ./cmd/subscriptions
binary: subscriptions
env:
- CGO_ENABLED=0
- id: payments
main: ./cmd/payments
binary: payments
env:
- CGO_ENABLED=0
archives:
- format: binary
dockers:
- id: users
image_templates:
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/users:latest"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/users:{{ .Tag }}"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/users:v{{ .Major }}"
ids:
- users
dockerfile: "./cmd/users/Dockerfile"
- id: plans
image_templates:
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/plans:latest"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/plans:{{ .Tag }}"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/plans:v{{ .Major }}"
ids:
- plans
dockerfile: "./cmd/plans/Dockerfile"
- id: subscriptions
image_templates:
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/subscriptions:latest"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/subscriptions:{{ .Tag }}"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/subscriptions:v{{ .Major }}"
ids:
- subscriptions
dockerfile: "./cmd/subscriptions/Dockerfile"
- id: payments
image_templates:
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/payments:latest"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/payments:{{ .Tag }}"
- "ghcr.io/dosedetelemetria/projeto-otel-na-pratica/payments:v{{ .Major }}"
ids:
- payments
dockerfile: "./cmd/payments/Dockerfile"