Skip to content

Commit

Permalink
chore: add armv7 to Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Oct 15, 2022
1 parent 0441238 commit dead4d9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ docker_manifests:
image_templates:
- 'traefik/whoamiudp:{{ .Tag }}-amd64'
- 'traefik/whoamiudp:{{ .Tag }}-arm64'
- 'traefik/whoamiudp:{{ .Tag }}-armv7'
- name_template: 'traefik/whoamiudp:latest'
image_templates:
- 'traefik/whoamiudp:{{ .Tag }}-amd64'
- 'traefik/whoamiudp:{{ .Tag }}-arm64'
- 'traefik/whoamiudp:{{ .Tag }}-armv7'
- name_template: 'traefik/whoamiudp:v{{ .Major }}.{{ .Minor }}'
image_templates:
- 'traefik/whoamiudp:v{{ .Major }}.{{ .Minor }}-amd64'
- 'traefik/whoamiudp:v{{ .Major }}.{{ .Minor }}-arm64'
- 'traefik/whoamiudp:v{{ .Major }}.{{ .Minor }}-armv7'

dockers:
- use: buildx
Expand Down Expand Up @@ -84,3 +87,22 @@ dockers:
- '--label=org.opencontainers.image.version={{.Version}}'
- '--label=org.opencontainers.image.source={{.GitURL}}'
- '--platform=linux/arm64'

- use: buildx
goos: linux
goarch: arm
goarm: '7'
dockerfile: buildx.Dockerfile
image_templates:
- 'traefik/whoamiudp:latest-armv7'
- 'traefik/whoamiudp:{{ .Tag }}-armv7'
- 'traefik/whoamiudp:v{{ .Major }}.{{ .Minor }}-armv7'
build_flag_templates:
- '--pull'
- '--label=org.opencontainers.image.description=Tiny Go UDP server that prints OS information and request to output'
- '--label=org.opencontainers.image.created={{.Date}}'
- '--label=org.opencontainers.image.title={{.ProjectName}}'
- '--label=org.opencontainers.image.revision={{.FullCommit}}'
- '--label=org.opencontainers.image.version={{.Version}}'
- '--label=org.opencontainers.image.source={{.GitURL}}'
- '--platform=linux/arm/v7'

0 comments on commit dead4d9

Please sign in to comment.