Delete .github/workflows/docker-build.yml

This commit is contained in:
Matthew Phelps 2026-03-20 09:52:45 +11:00 committed by GitHub
parent d70919fef2
commit 470eb231b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,65 +0,0 @@
name: Build and Push Docker Image
on:
push:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Save Dockerfile
run: cp Dockerfile /tmp/Dockerfile
- name: Fetch upstream tag
run: |
git remote add upstream https://github.com/Lidarr/Lidarr.git
git fetch upstream refs/tags/v3.1.0.4875:refs/tags/v3.1.0.4875
git checkout v3.1.0.4875
git submodule update --init --recursive
- name: Restore Dockerfile
run: cp /tmp/Dockerfile ./Dockerfile
- name: Apply fix
run: |
sed -i 's/_rootFolderService.All().Select(x => x.Path).ToList();/artists.Select(x => x.Path).ToList();/' src/NzbDrone.Core/Music/Services/RefreshArtistService.cs
- name: Verify fix applied
run: grep -n "artists.Select(x => x.Path).ToList()" src/NzbDrone.Core/Music/Services/RefreshArtistService.cs
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: |
dotnet restore src/NzbDrone.Core/Lidarr.Core.csproj
dotnet restore src/NzbDrone.Host/Lidarr.Host.csproj
- name: Build
run: dotnet build src/NzbDrone.Host/Lidarr.Host.csproj --configuration Release --no-restore -p:RunAnalyzers=false
- name: Copy output to root
run: cp -r _output/net8.0 ./output
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: |
mcphelps/lidarr-fix:latest