Skip to content

Commit

Permalink
build: update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Oct 25, 2018
1 parent 4febb84 commit d1e47f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ sign:
artifacts: checksum

dockers:
- image: fabiolb/fabio
latest: true
tag_template: '{{ .Version }}-{{ .Env.GOVERSION }}'
-
dockerfile: Dockerfile-goreleaser
image_templates:
- 'fabiolb/fabio:latest'
- 'fabiolb/fabio:{{ .Version }}-{{ .Env.GOVERSION }}'
- 'magiconair/fabio:latest'
- 'magiconair/fabio:{{ .Version }}-{{ .Env.GOVERSION }}'
extra_files:
- build/ca-certificates.crt
- fabio.properties
7 changes: 7 additions & 0 deletions Dockerfile-goreleaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM alpine:3.8
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
COPY fabio /usr/bin
ADD fabio.properties /etc/fabio/fabio.properties
EXPOSE 9998 9999
ENTRYPOINT ["/usr/bin/fabio"]
CMD ["-cfg", "/etc/fabio/fabio.properties"]

0 comments on commit d1e47f6

Please sign in to comment.