Skip to content

Add streamlink config, and utilize yt-dlp in place of youtube-dl #22

Add streamlink config, and utilize yt-dlp in place of youtube-dl

Add streamlink config, and utilize yt-dlp in place of youtube-dl #22

Workflow file for this run

name: Publish Docker Image
on: [push, pull_request]
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Build
- name: Build image
run: |
[[ $GITHUB_REF_NAME = "master" ]] && TAG="latest" || TAG=$GITHUB_REF_NAME
docker build . --file Dockerfile --tag ghcr.io/"${GITHUB_REPOSITORY,,}":$TAG
# Push
- name: Push image
run: |
[[ $GITHUB_REF_NAME = "master" ]] && TAG="latest" || TAG=$GITHUB_REF_NAME
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_REPOSITORY_OWNER --password-stdin
docker push ghcr.io/"${GITHUB_REPOSITORY,,}":$TAG