Skip to content

Commit

Permalink
fix(build): the docker image is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea committed Jun 23, 2023
1 parent 899f0b0 commit 4cf592b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
Expand Down Expand Up @@ -72,20 +71,20 @@ docker_manifests:
image_templates:
- ghcr.io/{{ .Env.GITHUB_ORG }}/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/{{ .Env.GITHUB_ORG }}/{{ .ProjectName }}:{{ .Version }}-arm64v8
nfpms:
- id: packages
# Formats to be generated.
formats:
- deb
- rpm
- archlinux # Since: v1.13
# contents:
# # for updstart
# - src: path/to/local/bar.conf
# dst: /etc/bar.conf
# type: "config|noreplace"
# # for logging
# - dst: /some/dir
# type: dir
# file_info:
# mode: 0700
# nfpms:
# - id: packages
# maintainer:
# # Formats to be generated.
# formats:
# - deb
# - rpm
# # contents:
# # # for updstart
# # - src: path/to/local/bar.conf
# # dst: /etc/bar.conf
# # type: "config|noreplace"
# # # for logging
# # - dst: /some/dir
# # type: dir
# # file_info:
# # mode: 0700
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
FROM scratch
ENTRYPOINT [ "/geo2tz" ]
CMD [ "start" ]
COPY geo2tz /
COPY tzdata /

0 comments on commit 4cf592b

Please sign in to comment.