Compare commits

...

6 Commits
1.0.6 ... 1.0.7

Author SHA1 Message Date
7dd9fab7e6 finalize publish action
All checks were successful
Build docker container / build (push) Successful in 7m2s
2024-10-09 13:25:50 +02:00
65c94b6585 test publish to docker registry
All checks were successful
Build docker container / build (push) Successful in 6m1s
2024-10-09 13:17:15 +02:00
c95f6abf4f testing github action
Some checks failed
Build docker container / build (push) Failing after 5m57s
2024-10-09 13:06:26 +02:00
26db08b189 update action
Some checks failed
Build docker container / build (push) Failing after 7m3s
2024-10-09 12:38:57 +02:00
57501829c1 image improvements + documentation update
Some checks failed
Build docker container / build (push) Has been cancelled
2024-10-09 10:46:08 +02:00
a7e52a2952 update readme
Some checks failed
Build docker container / build (push) Failing after 7m2s
2024-10-07 13:12:36 +02:00
3 changed files with 30 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -62,11 +62,19 @@ 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
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
@ -81,3 +89,5 @@ services:
[10-02-2024](https://github.com/iptv-org/epg/commit/713dbf60a1cb9623ffcab6ab370ee9a78b32102b)
- 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