Skip to content

Commit

Permalink
chore: goreleaser 删除 docker platform armv6
Browse files Browse the repository at this point in the history
  • Loading branch information
lenye committed Sep 9, 2023
1 parent edac80f commit afd33a1
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,25 +116,6 @@ dockers:
- "--label=org.opencontainers.image.source=https://github.com/lenye/{{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- image_templates:
- "ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv6"
- "ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv6"
- "ghcr.io/lenye/{{ .ProjectName }}:latest-armv6"
use: buildx
goos: linux
goarch: arm
goarm: 6
dockerfile: Dockerfile
build_flag_templates:
- "--pull"
- "--platform=linux/arm/v6"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.description={{.ProjectName}}"
- "--label=org.opencontainers.image.url=https://github.com/lenye/{{.ProjectName}}"
- "--label=org.opencontainers.image.source=https://github.com/lenye/{{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- image_templates:
- "ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv7"
- "ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv7"
Expand All @@ -160,17 +141,14 @@ docker_manifests:
image_templates:
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-amd64
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-arm64
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv6
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Tag }}-armv7
- name_template: ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}
image_templates:
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-arm64
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv6
- ghcr.io/lenye/{{ .ProjectName }}:{{ .Version }}-armv7
- name_template: ghcr.io/lenye/{{ .ProjectName }}:latest
image_templates:
- ghcr.io/lenye/{{ .ProjectName }}:latest-amd64
- ghcr.io/lenye/{{ .ProjectName }}:latest-arm64
- ghcr.io/lenye/{{ .ProjectName }}:latest-armv6
- ghcr.io/lenye/{{ .ProjectName }}:latest-armv7

0 comments on commit afd33a1

Please sign in to comment.