mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-07 12:02:14 +02:00
- Dockerfile.multithread: build from repo root for CI overlay on linuxserver/lidarr:nightly - docker-ghcr-multithread.yml: push to ghcr.io on branch push + workflow_dispatch - MediaFiles / RefreshArtist: fork behavior for multithreaded import Made-with: Cursor
43 lines
1 KiB
YAML
43 lines
1 KiB
YAML
# Build custom Lidarr overlay image and push to GHCR when this branch updates.
|
|
name: Docker (multithread) → GHCR
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- new-multithreaded-import
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
env:
|
|
REGISTRY: ghcr.io
|
|
IMAGE_NAME: ${{ github.repository_owner }}/lidarr
|
|
|
|
jobs:
|
|
build-push:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Log in to GHCR
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ${{ env.REGISTRY }}
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: Dockerfile.multithread
|
|
push: true
|
|
tags: |
|
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:new-multithreaded-import
|
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:git-${{ github.sha }}
|