Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
a4575ccf18 | |||
abc9f19ac3 | |||
5e40ec15af | |||
aa9ddceb06 | |||
8f58693ef5 | |||
fd12d6508f | |||
b078fd94ae | |||
30fdcd055d | |||
14526d29e2 | |||
7dd9fab7e6 | |||
65c94b6585 | |||
c95f6abf4f | |||
26db08b189 | |||
57501829c1 | |||
a7e52a2952 |
@ -11,7 +11,7 @@ jobs:
|
||||
working-directory: ${{ GITHUB_WORKSPACE }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Docker
|
||||
run: |
|
||||
echo "Checking docker installation"
|
||||
@ -23,17 +23,24 @@ jobs:
|
||||
fi
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
- name: Docker login
|
||||
- name: Login to Gitea container registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
registry: git.claeyscloud.com
|
||||
username: nologin
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
- name: Login to DockerHub container registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME}}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: git.claeyscloud.com/david/epg-info
|
||||
images: |
|
||||
davidquinonescl/epg-info
|
||||
git.claeyscloud.com/david/epg-info
|
||||
tags: |
|
||||
type=semver,pattern={{raw}}
|
||||
type=sha
|
||||
|
14
Dockerfile
14
Dockerfile
@ -16,15 +16,12 @@ COPY channels.xml /config/channels.xml
|
||||
ADD $FIXES_FOLDER /fixes
|
||||
RUN apk update \
|
||||
&& apk upgrade --available \
|
||||
&& apk add curl \
|
||||
&& apk add git \
|
||||
&& apk add tzdata \
|
||||
&& apk add bash \
|
||||
&& apk add curl git tzdata bash \
|
||||
&& npm install -g npm@latest \
|
||||
&& npm install pm2 -g \
|
||||
&& mkdir $(echo "${BIN_FOLDER}/${EPG_FOLDER}") -p \
|
||||
&& git -C $(echo "${BIN_FOLDER}") clone --depth 1 -b $(echo "${GIT_BRANCH} ${GIT_REPO}") \
|
||||
&& cd $WORKDIR cat && npm install && npm update \
|
||||
&& cd $WORKDIR && npm install && npm update \
|
||||
&& rm .eslintrc.json \
|
||||
&& rm -rf .github \
|
||||
&& rm -rf .git \
|
||||
@ -37,6 +34,13 @@ RUN apk update \
|
||||
&& rm sites/**/readme.md \
|
||||
&& rm -rf sites/**/__data__ \
|
||||
&& rm sites/**/**.test.js \
|
||||
&& rm -rf node_modules/**/.package-lock.json \
|
||||
&& rm -rf node_modules/**/.tsconfig.json \
|
||||
&& rm -rf node_modules/**/.tsconfig.tsbuildinfo.json \
|
||||
&& rm -rf node_modules/**/.github \
|
||||
&& rm -rf node_modules/**/docs \
|
||||
&& rm -rf node_modules/**/LICENSE \
|
||||
&& rm -rf node_modules/**/**.md \
|
||||
&& ln -s /config/channels.xml $(echo "${WORKDIR}/channels.xml") \
|
||||
&& mkdir /public
|
||||
COPY start.sh $WORKDIR
|
||||
|
35
README.md
35
README.md
@ -53,7 +53,8 @@ version: '3.3'
|
||||
services:
|
||||
epg:
|
||||
image: git.claeyscloud.com/david/epg-info:latest
|
||||
#image: image: git.claeyscloud.com/david/epg-info:latest:latest
|
||||
#image: ghcr.io/davidclaeysquinones/epg-info:latest
|
||||
#image: davidquinonescl/epg-info:latest
|
||||
volumes:
|
||||
# add a mapping in order to add the channels file
|
||||
- /docker/epg:/config
|
||||
@ -62,22 +63,40 @@ services:
|
||||
environment:
|
||||
# specify the time zone for the server
|
||||
- TZ=Etc/UTC
|
||||
# uncomment the underlying line if you want to enable custom fixes
|
||||
#- ENABLE_FIXES=true
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
### Versions
|
||||
|
||||
- 1.0.0
|
||||
This image is bound to the content of the [iptv-org/epg](https://github.com/iptv-org/epg) repository. In the underlying list you can see to which commit each version of the docker image is bound.
|
||||
|
||||
Normally when a change is made in the source repository the documention is updated and a new tag is created in this repository. This is completely normal since the source repository is only cloned during the build process of the docker image.
|
||||
|
||||
Sometimes a new version of this image will be bound to the same source commit. This will happen when improvements are made to the image.
|
||||
|
||||
- 1.0.0
|
||||
[08-01-2024](https://github.com/iptv-org/epg/commit/793c74ca397504fc2afc8fbfa998e0b8e4ca45d9)
|
||||
- 1.0.1
|
||||
- 1.0.1
|
||||
[08-14-2024](https://github.com/iptv-org/epg/commit/270e85cfae6f0f691c2e6ab7ce511d60fd687565)
|
||||
- 1.0.2
|
||||
- 1.0.2
|
||||
[09-07-2024](https://github.com/iptv-org/epg/commit/4e3b06a86e225cdd1b9362a683e6770fb68ff28f)
|
||||
- 1.0.3
|
||||
- 1.0.3
|
||||
[09-14-2024](https://github.com/iptv-org/epg/commit/c69f3c93b1123ddf0fecc62c7067fced59ae4e99)
|
||||
- 1.0.4
|
||||
- 1.0.4
|
||||
[09-30-2024](https://github.com/iptv-org/epg/commit/d90c7a54b941238cb92391b33d80a75e746d3002)
|
||||
- 1.0.5
|
||||
- 1.0.5
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)
|
||||
- 1.0.6
|
||||
- 1.0.6
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)<br>Adds possibility to enable custom fixes
|
||||
- 1.0.7
|
||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)<br>Adds improvement to the docker image size
|
||||
- 1.0.8
|
||||
[10-10-2024](https://github.com/iptv-org/epg/commit/2241bc261fd37b8b16e036a0b61167030a5ce2e6)
|
||||
- 1.0.9
|
||||
[10-12-2024](https://github.com/iptv-org/epg/commit/fd382db08da7a96150928b8dcfef115e29e661d3)
|
||||
- 1.0.10
|
||||
[10-14-2024 12:50](https://github.com/iptv-org/epg/commit/a3e7661f95103cbee4bcb78bd483396680e9abfc)
|
||||
- 1.0.11
|
||||
[10-14-2024 17:34](https://github.com/iptv-org/epg/commit/7610f7b9f5cc1ccab8d17f3408a95d31b36ace7c)
|
Reference in New Issue
Block a user