Skip to content

Commit

Permalink
update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Oct 11, 2019
1 parent c5888c6 commit 069c5fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ builds:
- 386
- amd64
- arm
goarm:
- 7

archive:
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Env.GOVERSION }}-{{ .Os }}_{{ .Arch }}'
format: binary
archives:
- id: bin
name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Env.GOVERSION }}-{{ .Os }}_{{ .Arch }}'
format: binary

checksum:
name_template: '{{.ProjectName}}-{{.Version}}-{{ .Env.GOVERSION }}.sha256'

sign:
artifacts: checksum
signs:
-
artifacts: checksum

dockers:
-
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-goreleaser
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.8
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
FROM alpine:3.10
RUN apk update && apk add --no-cache ca-certificates
COPY fabio /usr/bin
ADD fabio.properties /etc/fabio/fabio.properties
EXPOSE 9998 9999
Expand Down

0 comments on commit 069c5fc

Please sign in to comment.