Skip to content

Update build.yaml

Update build.yaml #14

Workflow file for this run

name: Build Jellyfin Docker image with YT-DLP
on:
push:
branches:
- 'main'
jobs:
Build_image:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
# Allows pushing to the GitHub Container Registry
packages: write
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action
with:
platforms: linux/amd64,linux/arm64
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action
with:
platforms: linux/amd64,linux/arm64
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Log in to the Github container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
REGISTRY: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action
with:
platforms: linux/amd64,linux/arm64
push: true
tags: |
"maxvdm/jellyfin-ytdlp:latest"
"ghcr.io/maxvdmerwe/jellyfin-ytdlp:latest"