File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Docker image
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v3
15+ with :
16+ submodules : true
17+
18+ - name : Log in to GitHub Container Registry
19+ uses : docker/login-action@v2
20+ with :
21+ registry : ghcr.io
22+ username : ${{ github.actor }}
23+ password : ${{ secrets.GITHUB_TOKEN }}
24+
25+ - name : Set up Docker Buildx
26+ uses : docker/setup-buildx-action@v2
27+
28+ - name : Build Docker image
29+ run : |
30+ repo_name=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
31+ docker build -t ghcr.io/${repo_name}/dvb-i-reference-client:latest .
32+
33+ - name : Push Docker image to GitHub Container Registry
34+ run : |
35+ repo_name=$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
36+ docker push ghcr.io/${repo_name}/dvb-i-reference-client:latest
Original file line number Diff line number Diff line change 1+ FROM php:8.1-apache
2+
3+ COPY ./ /var/www/html/
4+
5+ RUN a2enmod rewrite
6+ RUN a2enmod expires
Original file line number Diff line number Diff line change 33// install_location is the installation directory
44// see also frontend/configuration.js
55//
6- $ install_location = " https://dvb-i-reference.dvb.org/client " ;
6+ $ install_location = $ _ENV [ ' INSTALL_LOCATION ' ] ;
77?>
Original file line number Diff line number Diff line change 11// DVB-I Reference installation location -- also backend/configuration.php
2- var INSTALL_LOCATION = "https ://dvb-i-reference.dvb.org/client " ;
2+ var INSTALL_LOCATION = "http ://localhost:8888 " ;
33
44// set to true to include <Service> channels that are not included in the selected LCN table.
55var INCLUDE_NON_LCN_CHANNELS = false ;
You can’t perform that action at this time.
0 commit comments