diff --git a/.github/workflows/docker-ghcr.yml b/.github/workflows/docker-ghcr.yml new file mode 100644 index 0000000..3cbbefe --- /dev/null +++ b/.github/workflows/docker-ghcr.yml @@ -0,0 +1,39 @@ +name: Build and publish Docker image + +on: + workflow_dispatch: + push: + branches: + - master + - main + +permissions: + contents: read + packages: write + +env: + IMAGE_NAME: docker-mediathekview-webinterface + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Login to GHCR + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push image + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: | + ghcr.io/tobasium/docker-mediathekview-webinterface:latest + ghcr.io/tobasium/docker-mediathekview-webinterface:14.5.0 diff --git a/Dockerfile b/Dockerfile index 95a90e8..eac2ccc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM jlesage/baseimage-gui:debian-12-v4 ENV USER_ID=0 GROUP_ID=0 TERM=xterm -ENV MEDIATHEK_VERSION=14.4.2 +ENV MEDIATHEK_VERSION=14.5.0 # Refresh apt cache RUN apt-get update \