Skip to content

Commit

Permalink
chore: add docker images: armv6, armv7
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Jun 12, 2022
1 parent 4ff5e91 commit c6516b7
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,60 @@ dockers:
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.licenses=Apache-v2"

- image_templates:
- "soulteary/apt-proxy:linux-armv7-{{ .Tag }}"
- "soulteary/apt-proxy:linux-armv7"
dockerfile: docker/Dockerfile.gorelease
use: buildx
goos: linux
goarch: arm
goarm: "7"
build_flag_templates:
- "--pull"
- "--platform=linux/arm"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.description={{ .ProjectName }}"
- "--label=org.opencontainers.image.url=https://github.com/soulteary/apt-proxy"
- "--label=org.opencontainers.image.source=https://github.com/soulteary/apt-proxy"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.licenses=Apache-v2"

- image_templates:
- "soulteary/apt-proxy:linux-armv6-{{ .Tag }}"
- "soulteary/apt-proxy:linux-armv6"
dockerfile: docker/Dockerfile.gorelease
use: buildx
goos: linux
goarch: arm
goarm: "6"
build_flag_templates:
- "--pull"
- "--platform=linux/arm"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.description={{ .ProjectName }}"
- "--label=org.opencontainers.image.url=https://github.com/soulteary/apt-proxy"
- "--label=org.opencontainers.image.source=https://github.com/soulteary/apt-proxy"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.licenses=Apache-v2"


docker_manifests:
- name_template: "soulteary/apt-proxy:{{ .Tag }}"
image_templates:
- "soulteary/apt-proxy:linux-amd64-{{ .Tag }}"
- "soulteary/apt-proxy:linux-arm64-{{ .Tag }}"
- "soulteary/apt-proxy:linux-armv7-{{ .Tag }}"
- "soulteary/apt-proxy:linux-armv6-{{ .Tag }}"
skip_push: "false"

- name_template: "soulteary/apt-proxy:latest"
image_templates:
- "soulteary/apt-proxy:linux-amd64-{{ .Tag }}"
- "soulteary/apt-proxy:linux-arm64-{{ .Tag }}"
- "soulteary/apt-proxy:linux-armv7-{{ .Tag }}"
- "soulteary/apt-proxy:linux-armv6-{{ .Tag }}"
skip_push: "false"

0 comments on commit c6516b7

Please sign in to comment.