@@ -64,16 +64,18 @@ brews:
64
64
# Default is empty.
65
65
license : " MIT"
66
66
dockers :
67
- - id : protoconf-docker
67
+ - id : protoconf-docker-amd64
68
68
image_templates :
69
69
- " protoconf/protoconf-xds:latest"
70
70
- " protoconf/protoconf-xds:{{ .Tag }}"
71
71
- " protoconf/protoconf-xds:v{{ .Major }}"
72
72
- " protoconf/protoconf-xds:v{{ .Major }}.{{ .Minor }}"
73
73
- " ghcr.io/protoconf/protoconf-xds:latest"
74
74
- " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}"
75
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}-amd64"
75
76
- " ghcr.io/protoconf/protoconf-xds:{{ .Major }}"
76
77
- " ghcr.io/protoconf/protoconf-xds:{{ .Major }}.{{ .Minor }}"
78
+ use : buildx
77
79
dockerfile : build/Dockerfile
78
80
build_flag_templates :
79
81
- " --pull"
@@ -85,3 +87,32 @@ dockers:
85
87
- " --label=org.opencontainers.image.license=MIT"
86
88
- " --label=org.opencontainers.image.description={{.ProjectName}}"
87
89
- " --platform=linux/amd64"
90
+ - id : protoconf-docker-arm64
91
+ image_templates :
92
+ - " protoconf/protoconf-xds:latest"
93
+ - " protoconf/protoconf-xds:{{ .Tag }}"
94
+ - " protoconf/protoconf-xds:v{{ .Major }}"
95
+ - " protoconf/protoconf-xds:v{{ .Major }}.{{ .Minor }}"
96
+ - " ghcr.io/protoconf/protoconf-xds:latest"
97
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}"
98
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}-arm64"
99
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Major }}"
100
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Major }}.{{ .Minor }}"
101
+ use : buildx
102
+ dockerfile : build/Dockerfile
103
+ build_flag_templates :
104
+ - " --pull"
105
+ - " --label=org.opencontainers.image.created={{.Date}}"
106
+ - " --label=org.opencontainers.image.title={{.ProjectName}}"
107
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
108
+ - " --label=org.opencontainers.image.version={{.Version}}"
109
+ - " --label=org.opencontainers.image.source=https://github.com/protoconf/protoconf-xds"
110
+ - " --label=org.opencontainers.image.license=MIT"
111
+ - " --label=org.opencontainers.image.description={{.ProjectName}}"
112
+ - " --platform=linux/arm64"
113
+ goarch : arm64
114
+ docker_manifests :
115
+ - name_template : " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}"
116
+ image_templates :
117
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}-amd64"
118
+ - " ghcr.io/protoconf/protoconf-xds:{{ .Tag }}-arm64"
0 commit comments