Skip to content

Commit 5be6ba5

Browse files
committed
chore: add armv7 to Docker images
1 parent 7232cec commit 5be6ba5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.goreleaser.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,17 @@ docker_manifests:
3939
image_templates:
4040
- 'traefik/whoamitcp:{{ .Tag }}-amd64'
4141
- 'traefik/whoamitcp:{{ .Tag }}-arm64'
42+
- 'traefik/whoamitcp:{{ .Tag }}-armv7'
4243
- name_template: 'traefik/whoamitcp:latest'
4344
image_templates:
4445
- 'traefik/whoamitcp:{{ .Tag }}-amd64'
4546
- 'traefik/whoamitcp:{{ .Tag }}-arm64'
47+
- 'traefik/whoamitcp:{{ .Tag }}-armv7'
4648
- name_template: 'traefik/whoamitcp:v{{ .Major }}.{{ .Minor }}'
4749
image_templates:
4850
- 'traefik/whoamitcp:v{{ .Major }}.{{ .Minor }}-amd64'
4951
- 'traefik/whoamitcp:v{{ .Major }}.{{ .Minor }}-arm64'
52+
- 'traefik/whoamitcp:v{{ .Major }}.{{ .Minor }}-armv7'
5053

5154
dockers:
5255
- use: buildx
@@ -84,3 +87,22 @@ dockers:
8487
- '--label=org.opencontainers.image.version={{.Version}}'
8588
- '--label=org.opencontainers.image.source={{.GitURL}}'
8689
- '--platform=linux/arm64'
90+
91+
- use: buildx
92+
goos: linux
93+
goarch: arm
94+
goarm: '7'
95+
dockerfile: buildx.Dockerfile
96+
image_templates:
97+
- 'traefik/whoamitcp:latest-armv7'
98+
- 'traefik/whoamitcp:{{ .Tag }}-armv7'
99+
- 'traefik/whoamitcp:v{{ .Major }}.{{ .Minor }}-armv7'
100+
build_flag_templates:
101+
- '--pull'
102+
- '--label=org.opencontainers.image.description=Tiny Go TCP server that prints OS information and request to output'
103+
- '--label=org.opencontainers.image.created={{.Date}}'
104+
- '--label=org.opencontainers.image.title={{.ProjectName}}'
105+
- '--label=org.opencontainers.image.revision={{.FullCommit}}'
106+
- '--label=org.opencontainers.image.version={{.Version}}'
107+
- '--label=org.opencontainers.image.source={{.GitURL}}'
108+
- '--platform=linux/arm/v7'

0 commit comments

Comments
 (0)