@@ -7,12 +7,22 @@ builds:
7
7
- linux
8
8
env :
9
9
- CGO_ENABLED=0
10
+ - id : proxy
11
+ binary : proxy
12
+ goos :
13
+ - linux
14
+ env :
15
+ - CGO_ENABLED=0
10
16
11
17
archives :
12
18
- id : manager
13
19
name_template : " manager_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
14
20
builds :
15
21
- manager
22
+ - id : proxy
23
+ name_template : " proxy_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
24
+ builds :
25
+ - proxy
16
26
17
27
checksum :
18
28
name_template : ' checksums.txt'
@@ -35,8 +45,6 @@ dockers:
35
45
- ghcr.io/doodlescheduling/{{ .ProjectName }}:v{{ .Version }}-amd64
36
46
dockerfile : Dockerfile
37
47
use : buildx
38
- extra_files :
39
- - assets
40
48
ids :
41
49
- manager
42
50
build_flag_templates :
@@ -54,8 +62,6 @@ dockers:
54
62
goarch : arm64
55
63
dockerfile : Dockerfile
56
64
use : buildx
57
- extra_files :
58
- - assets
59
65
ids :
60
66
- manager
61
67
build_flag_templates :
@@ -68,6 +74,39 @@ dockers:
68
74
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
69
75
- --label=org.opencontainers.image.revision={{ .FullCommit }}
70
76
- --label=org.opencontainers.image.licenses=Apache-2.0
77
+ - image_templates :
78
+ - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-amd64
79
+ dockerfile : proxy/Dockerfile
80
+ use : buildx
81
+ ids :
82
+ - proxy
83
+ build_flag_templates :
84
+ - --platform=linux/amd64
85
+ - --label=org.opencontainers.image.title={{ .ProjectName }}
86
+ - --label=org.opencontainers.image.description={{ .ProjectName }}
87
+ - --label=org.opencontainers.image.url=https://github.com/doodlescheduling/{{ .ProjectName }}
88
+ - --label=org.opencontainers.image.source=https://github.com/doodlescheduling/{{ .ProjectName }}
89
+ - --label=org.opencontainers.image.version={{ .Version }}
90
+ - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
91
+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
92
+ - --label=org.opencontainers.image.licenses=Apache-2.0
93
+ - image_templates :
94
+ - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-arm64v8
95
+ goarch : arm64
96
+ dockerfile : proxy/Dockerfile
97
+ use : buildx
98
+ ids :
99
+ - proxy
100
+ build_flag_templates :
101
+ - --platform=linux/arm64/v8
102
+ - --label=org.opencontainers.image.title={{ .ProjectName }}
103
+ - --label=org.opencontainers.image.description={{ .ProjectName }}
104
+ - --label=org.opencontainers.image.url=https://github.com/doodlescheduling/{{ .ProjectName }}
105
+ - --label=org.opencontainers.image.source=https://github.com/doodlescheduling/{{ .ProjectName }}
106
+ - --label=org.opencontainers.image.version={{ .Version }}
107
+ - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
108
+ - --label=org.opencontainers.image.revision={{ .FullCommit }}
109
+ - --label=org.opencontainers.image.licenses=Apache-2.0
71
110
72
111
docker_manifests :
73
112
- name_template : ghcr.io/doodlescheduling/{{ .ProjectName }}:v{{ .Version }}
@@ -78,6 +117,14 @@ docker_manifests:
78
117
image_templates :
79
118
- ghcr.io/doodlescheduling/{{ .ProjectName }}:v{{ .Version }}-amd64
80
119
- ghcr.io/doodlescheduling/{{ .ProjectName }}:v{{ .Version }}-arm64v8
120
+ - name_template : ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}
121
+ image_templates :
122
+ - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-amd64
123
+ - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-arm64v8
124
+ - name_template : ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:latest
125
+ image_templates :
126
+ - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-amd64
127
+ - ghcr.io/doodlescheduling/{{ .ProjectName }}/proxy:v{{ .Version }}-arm64v8
81
128
82
129
signs :
83
130
- cmd : cosign
0 commit comments