feat: update docker and pipeline

- Add workflow to publish to GHCR
- Add workflow to build Docker image
- Add zap2xmlrc config example
- Update Dockerfile to run continuously
This commit is contained in:
Jef LeCompte
2019-09-04 12:13:56 -04:00
commit e31071bda8
15 changed files with 1805 additions and 0 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# zap2xml
See [zap2xml](https://web.archive.org/web/20200426004001/zap2xml.awardspace.info/) for original Perl script and guidance for the configuration file.
## Docker
| Tag | Description |
|---|---|
| latest | Stable zap2xml releases |
| nightly | HEAD zap2xml release |
### Compose
```yaml
version: '3'
services:
zap2xml:
container_name: zap2xml
image: ghcr.io/jef/zap2xml:latest
environment:
OPT_ARGS: >-
-I -D -C /config/.zap2xmlrc
SLEEPTIME: 43200 # 12 hours in seconds
TZ: America/New_York
volumes:
- /path/to/appdata/zap2xml:/config
- /path/to/appdata/xmltv:/xmltv # nice for mapping other drives to this that may use xmltv.xml
restart: unless-stopped
```