Skip to content

Commit

Permalink
Added armv6 for first generation raspberry pies
Browse files Browse the repository at this point in the history
  • Loading branch information
dereulenspiegel committed Jan 8, 2021
1 parent 4af6d4e commit 60cabdb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ builds:
- arm64
goarm:
- 7
- 6
ignore:
- goos: darwin
goarch: arm
Expand Down Expand Up @@ -87,18 +88,39 @@ dockers:
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- image_templates:
- dereulenspiegel/taplist:{{ .Version }}-armv6
- dereulenspiegel/taplist:latest-armv6
builds:
- main-build
binaries:
- taplist
dockerfile: Dockerfile.arm6
goos: linux
goarch: arm
goarm: 6
extra_files:
- frontend
build_flag_templates:
- "--platform=linux/arm/6"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"

docker_manifests:
- name_template: dereulenspiegel/taplist:{{ .Version }}
image_templates:
- dereulenspiegel/taplist:{{ .Version }}-amd64
- dereulenspiegel/taplist:{{ .Version }}-arm64
- dereulenspiegel/taplist:{{ .Version }}-armv7
- dereulenspiegel/taplist:{{ .Version }}-armv7
- name_template: dereulenspiegel/taplist:latest
image_templates:
- dereulenspiegel/taplist:latest-amd64
- dereulenspiegel/taplist:latest-arm64
- dereulenspiegel/taplist:latest-armv7
- dereulenspiegel/taplist:latest-armv6

archives:
- replacements:
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile.arm6
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM --platform=linux/arm/6 alpine:3.12
COPY taplist /taplist
EXPOSE 9099
VOLUME ["/data"]
ENTRYPOINT ["/taplist"]

0 comments on commit 60cabdb

Please sign in to comment.