mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-09 05:06:09 +02:00
Enhance Docker build workflow with Dockerfile management
Added steps to save and restore Dockerfile during the workflow.
This commit is contained in:
parent
1c75901d2d
commit
73fb513016
1 changed files with 6 additions and 0 deletions
6
.github/workflows/docker-build.yml
vendored
6
.github/workflows/docker-build.yml
vendored
|
|
@ -13,6 +13,9 @@ jobs:
|
|||
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
|
||||
|
|
@ -20,6 +23,9 @@ jobs:
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue