Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
8f58693ef5 | |||
fd12d6508f | |||
b078fd94ae | |||
30fdcd055d | |||
14526d29e2 | |||
7dd9fab7e6 | |||
65c94b6585 | |||
c95f6abf4f | |||
26db08b189 | |||
57501829c1 | |||
a7e52a2952 |
@ -11,7 +11,7 @@ jobs:
|
|||||||
working-directory: ${{ GITHUB_WORKSPACE }}
|
working-directory: ${{ GITHUB_WORKSPACE }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: |
|
run: |
|
||||||
echo "Checking docker installation"
|
echo "Checking docker installation"
|
||||||
@ -23,17 +23,24 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v3
|
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
|
uses: https://github.com/docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.claeyscloud.com
|
registry: git.claeyscloud.com
|
||||||
username: nologin
|
username: nologin
|
||||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
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
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: git.claeyscloud.com/david/epg-info
|
images: |
|
||||||
|
davidquinonescl/epg-info
|
||||||
|
git.claeyscloud.com/david/epg-info
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{raw}}
|
type=semver,pattern={{raw}}
|
||||||
type=sha
|
type=sha
|
||||||
|
14
Dockerfile
14
Dockerfile
@ -16,15 +16,12 @@ COPY channels.xml /config/channels.xml
|
|||||||
ADD $FIXES_FOLDER /fixes
|
ADD $FIXES_FOLDER /fixes
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk upgrade --available \
|
&& apk upgrade --available \
|
||||||
&& apk add curl \
|
&& apk add curl git tzdata bash \
|
||||||
&& apk add git \
|
|
||||||
&& apk add tzdata \
|
|
||||||
&& apk add bash \
|
|
||||||
&& npm install -g npm@latest \
|
&& npm install -g npm@latest \
|
||||||
&& npm install pm2 -g \
|
&& npm install pm2 -g \
|
||||||
&& mkdir $(echo "${BIN_FOLDER}/${EPG_FOLDER}") -p \
|
&& mkdir $(echo "${BIN_FOLDER}/${EPG_FOLDER}") -p \
|
||||||
&& git -C $(echo "${BIN_FOLDER}") clone --depth 1 -b $(echo "${GIT_BRANCH} ${GIT_REPO}") \
|
&& 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 .eslintrc.json \
|
||||||
&& rm -rf .github \
|
&& rm -rf .github \
|
||||||
&& rm -rf .git \
|
&& rm -rf .git \
|
||||||
@ -37,6 +34,13 @@ RUN apk update \
|
|||||||
&& rm sites/**/readme.md \
|
&& rm sites/**/readme.md \
|
||||||
&& rm -rf sites/**/__data__ \
|
&& rm -rf sites/**/__data__ \
|
||||||
&& rm sites/**/**.test.js \
|
&& 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") \
|
&& ln -s /config/channels.xml $(echo "${WORKDIR}/channels.xml") \
|
||||||
&& mkdir /public
|
&& mkdir /public
|
||||||
COPY start.sh $WORKDIR
|
COPY start.sh $WORKDIR
|
||||||
|
21
README.md
21
README.md
@ -53,7 +53,8 @@ version: '3.3'
|
|||||||
services:
|
services:
|
||||||
epg:
|
epg:
|
||||||
image: git.claeyscloud.com/david/epg-info:latest
|
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:
|
volumes:
|
||||||
# add a mapping in order to add the channels file
|
# add a mapping in order to add the channels file
|
||||||
- /docker/epg:/config
|
- /docker/epg:/config
|
||||||
@ -62,11 +63,19 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
# specify the time zone for the server
|
# specify the time zone for the server
|
||||||
- TZ=Etc/UTC
|
- TZ=Etc/UTC
|
||||||
|
# uncomment the underlying line if you want to enable custom fixes
|
||||||
|
#- ENABLE_FIXES=true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
### Versions
|
### Versions
|
||||||
|
|
||||||
|
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
|
- 1.0.0
|
||||||
[08-01-2024](https://github.com/iptv-org/epg/commit/793c74ca397504fc2afc8fbfa998e0b8e4ca45d9)
|
[08-01-2024](https://github.com/iptv-org/epg/commit/793c74ca397504fc2afc8fbfa998e0b8e4ca45d9)
|
||||||
- 1.0.1
|
- 1.0.1
|
||||||
@ -80,4 +89,12 @@ services:
|
|||||||
- 1.0.5
|
- 1.0.5
|
||||||
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)
|
[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
|
[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](https://github.com/iptv-org/epg/commit/a3e7661f95103cbee4bcb78bd483396680e9abfc)
|
Reference in New Issue
Block a user