Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c113fd0bbc | |||
| 54f8e6b157 | |||
| be44be878c | |||
| 1700fbe251 | |||
| b760bbdf3e | |||
| 8c609f5515 | |||
| ff31a3b737 | |||
| 123285107d | |||
| 3d13569146 | |||
| e9bc6f5246 | |||
| 5c662bae69 | |||
|
|
eece21742c | ||
|
|
ee126cf60c | ||
|
|
db28863295 | ||
|
|
223a4ea6b5 | ||
|
|
e6ee948355 | ||
|
|
2662567576 | ||
|
|
309038bb4a | ||
|
|
3b019df919 |
@@ -21,6 +21,64 @@ jobs:
|
||||
echo "Docker installation not found. Docker will be installed"
|
||||
curl -fsSL https://get.docker.com | sh
|
||||
fi
|
||||
- name: Install npm dependencies
|
||||
run: |
|
||||
echo "Installing fetch"
|
||||
install_node=$false
|
||||
if ! command -v node &> /dev/null; then
|
||||
echo "No version of NodeJS detected"
|
||||
install_node=true
|
||||
else
|
||||
node_version=$(node -v)
|
||||
node_version=${node_version:1} # Remove 'v' at the beginning
|
||||
node_version=${node_version%\.*} # Remove trailing ".*".
|
||||
node_version=${node_version%\.*} # Remove trailing ".*".
|
||||
node_version=$(($node_version)) # Convert the NodeJS version number from a string to an integer.
|
||||
if [ $node_version -lt 24 ]; then
|
||||
echo "node version : " $node_version
|
||||
echo $"removing outdated npm version"
|
||||
install_node=true
|
||||
apt-get remove nodejs npm
|
||||
apt-get purge nodejs
|
||||
rm -rf /usr/local/bin/npm
|
||||
rm -rf /usr/local/share/man/man1/node*
|
||||
rm -rf /usr/local/lib/dtrace/node.d
|
||||
rm -rf ~/.npm
|
||||
rm -rf ~/.node-gyp
|
||||
rm -rf /opt/local/bin/node
|
||||
rm -rf opt/local/include/node
|
||||
rm -rf /opt/local/lib/node_modules
|
||||
rm -rf /usr/local/lib/node*
|
||||
rm -rf /usr/local/include/node*
|
||||
rm -rf /usr/local/bin/node*
|
||||
fi
|
||||
fi
|
||||
|
||||
if $install_node; then
|
||||
NODE_MAJOR=24
|
||||
echo "Installing node ${NODE_MAJOR}"
|
||||
if test -f /etc/apt/keyrings/nodesource.gpg; then
|
||||
rm /etc/apt/keyrings/nodesource.gpg
|
||||
fi
|
||||
if test -f /etc/apt/sources.list.d/nodesource.list; then
|
||||
rm /etc/apt/sources.list.d/nodesource.list
|
||||
fi
|
||||
apt-get update
|
||||
apt-get install -y -q ca-certificates curl gnupg
|
||||
mkdir -p /etc/apt/keyrings
|
||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
||||
apt-get update
|
||||
apt-get install -y -q nodejs
|
||||
npm install npm --global
|
||||
fi
|
||||
|
||||
echo "node version : " $(node -v)
|
||||
|
||||
package='node-fetch'
|
||||
if [ `npm list -g | grep -c $package` -eq 0 ]; then
|
||||
npm install -g $package
|
||||
fi
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
- name: Login to Gitea container registry
|
||||
@@ -32,7 +90,7 @@ jobs:
|
||||
- name: Login to DockerHub container registry
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME}}
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
@@ -49,6 +107,12 @@ jobs:
|
||||
tags: |
|
||||
type=semver,pattern={{raw}}
|
||||
type=sha
|
||||
- name: Update docker Hub Description
|
||||
uses: https://github.com/peter-evans/dockerhub-description@v5
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
repository: davidquinonescl/epg-info
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v5
|
||||
with:
|
||||
@@ -56,4 +120,3 @@ jobs:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
|
||||
24
README.md
24
README.md
@@ -224,4 +224,26 @@ Sometimes a new version of this image will be bound to the same source commit. T
|
||||
- 1.0.65
|
||||
[06-16-2025](https://github.com/iptv-org/epg/commit/e0fdf221e2d2707fe7a9d06a4c2797672888c0eb)
|
||||
- 1.0.66
|
||||
[06-26-2025](https://github.com/iptv-org/epg/commit/93f857f3c36cbe00e76fceb4ad875d8e6f6ec6aa)
|
||||
[06-26-2025](https://github.com/iptv-org/epg/commit/93f857f3c36cbe00e76fceb4ad875d8e6f6ec6aa)
|
||||
- 1.0.67
|
||||
[07-07-2025](https://github.com/iptv-org/epg/commit/3107571168eea356e6fa6311519e3777db99b5a6)
|
||||
- 1.0.68
|
||||
[07-14-2025](https://github.com/iptv-org/epg/commit/10685b064d9cc65c1a22234a19527da53d544cbf)
|
||||
- 1.0.69
|
||||
[09-21-2025](https://github.com/iptv-org/epg/commit/69774a7e6a2c752d769ad5dfdc41b3fe4baeace1)
|
||||
- 1.0.70
|
||||
[10-07-2025](https://github.com/iptv-org/epg/commit/eebfcc8278dc31e9ef17ebbd298d4af061cdc23f)
|
||||
- 1.0.71
|
||||
[11-15-2025](https://github.com/iptv-org/epg/commit/4ed1e39d95da18d54628525f9173b7b7f7ae1d21)
|
||||
- 1.0.72
|
||||
[11-23-2025](https://github.com/iptv-org/epg/commit/9b331e6cfab19ad2f683b212aa079aac07fe72fe)
|
||||
- 1.0.73
|
||||
[12-24-2025](https://github.com/iptv-org/epg/commit/ba1fb58194464a6c50a597ac28a35dc8a4895038)
|
||||
- 1.0.74
|
||||
[01-06-2026](https://github.com/iptv-org/epg/commit/cbe17252ca7ef70780600952cf97790f352c8c15)
|
||||
- 1.0.75
|
||||
[02-07-2026](https://github.com/iptv-org/epg/commit/c1b3ef5a0e22979ffe06e4e688366eadc05b8537)
|
||||
- 1.0.76
|
||||
[02-10-2026](https://github.com/iptv-org/epg/commit/de08d7df85184bb6418cabf56501a9faed2889be)
|
||||
- 1.0.77
|
||||
[02-18-2026](https://github.com/iptv-org/epg/commit/a1168b74f5d51a26fdf51129c9af7a296f04b9f6)
|
||||
@@ -14,7 +14,7 @@ module.exports = {
|
||||
process.env.CLANG ? `--lang=${process.env.CLANG}` : ''
|
||||
} --output=public/guide.xml`
|
||||
: `npm run grab -- --gzip --channels=channels.xml --output=public/guide.xml`,
|
||||
cron_restart: process.env.CRON || null,
|
||||
cron_restart: process.env.CRON_SCHEDULE || null,
|
||||
instances: 1,
|
||||
watch: false,
|
||||
autorestart: false
|
||||
|
||||
Reference in New Issue
Block a user