diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 00000000..46e162d4 --- /dev/null +++ b/.goreleaser.yaml @@ -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 + 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 \ No newline at end of file diff --git a/README.md b/README.md index 4687941b..bba6f61b 100644 --- a/README.md +++ b/README.md @@ -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 @@ -71,7 +79,7 @@ http://poxyserver.com:8080/15/test/4 HOSTNAME: localhost ``` -### Start +#### Start ``` % docker-compose up -d