Skip to content

Commit

Permalink
Add goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
  • Loading branch information
pierre-emmanuelJ committed Feb 27, 2019
1 parent 38f22c8 commit 591cf11
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
50 changes: 50 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
project_name: iptv-proxy

builds:
- binary: iptv-proxy
env:
- CGO_ENABLED=0
flags:
- -mod=vendor
goos:
- windows
- darwin
- linux
- openbsd

goarch:
- amd64

sign:
cmd: gpg
args: ["-u", "pierre-emmanuel.jacquier@epitech.eu", "--detach-sign", "${artifact}"]
artifacts: all

archive:
format_overrides:
- goos: windows
format: zip

release:
github:
owner: pierre-emmanuelJ
name: iptv-proxy
draft: true

nfpm:
vendor: Pierre-Emmanuel
homepage: https://github.com/pierre-emmanuelJ/iptv-proxy
maintainer: Pierre-Emmanuel <pierre-emmanuel.jacquier@epitech.eu>
description: Reverse proxy on iptv m3u file
license: Apache 2.0
formats:
- deb
- rpm

brew:
github:
owner: pierre-emmanuel
name: homebrew-tap
folder: Formula
homepage: "https://github.com/pierre-emmanuelJ/iptv-proxy"
description: Reverse proxy on iptv m3u file
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ http://poxyserver.com:8080/15/test/4

## Installation

### Prerequisite
### Without Docker

```
TODO
```

### With Docker

#### Prerequisite

- Add an m3u URL in `docker-compose.yml` or add local file in `iptv` folder
- `HOSTNAME` and `PORT` to expose
Expand All @@ -71,7 +79,7 @@ http://poxyserver.com:8080/15/test/4
HOSTNAME: localhost
```
### Start
#### Start
```
% docker-compose up -d
Expand Down

0 comments on commit 591cf11

Please sign in to comment.