Hotfix/docker file permissions (#350)
* Fixed file pathing for automated docker builds * Added back in renaming the Kavita executable * Testing new method for copying wwwroot folder * Fixed file pathing * Fixed pathing to test * Potential fix for Docker file permissions Co-authored-by: Chris Plaatjes <chris.p@boxbrite.com> Co-authored-by: Boxbrite User <boxbrite@Rathalos.localdomain>
This commit is contained in:
parent
20ba41c38f
commit
f7f983045d
5 changed files with 16 additions and 29 deletions
11
.github/workflows/nightly-docker.yml
vendored
11
.github/workflows/nightly-docker.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: CI to Docker Hub
|
||||
name: Build Nightly Docker
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -25,8 +25,6 @@ jobs:
|
|||
with:
|
||||
node-version: '14'
|
||||
- run: |
|
||||
echo 'Checking folder structure'
|
||||
ls -l
|
||||
|
||||
cd Kavita-webui/ || exit
|
||||
echo 'Installing web dependencies'
|
||||
|
@ -35,14 +33,9 @@ jobs:
|
|||
echo 'Building UI'
|
||||
npm run prod
|
||||
|
||||
echo 'Checking dist folder for compiling integrity'
|
||||
ls -l dist
|
||||
|
||||
echo 'Copying back to Kavita wwwroot'
|
||||
rsync -a dist/ ../API/wwwroot/
|
||||
|
||||
echo 'Checking Kavita wwwroot for copying integrity'
|
||||
ls -l ../API/wwwroot
|
||||
|
||||
cd ../ || exit
|
||||
|
||||
- name: Compile dotnet app
|
||||
|
|
18
.github/workflows/stable-docker.yml
vendored
18
.github/workflows/stable-docker.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: CI to Docker Hub
|
||||
name: Build Stable Docker
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -25,20 +25,17 @@ jobs:
|
|||
with:
|
||||
node-version: '14'
|
||||
- run: |
|
||||
echo 'Removing old wwwroot'
|
||||
rm -rf API/wwwroot/*
|
||||
|
||||
cd Kavita-webui/ || exit
|
||||
echo 'Installing web dependencies'
|
||||
npm install
|
||||
|
||||
echo 'Building UI'
|
||||
npm run prod
|
||||
echo 'Checking dist folder for compiling integrity'
|
||||
ls -l dist
|
||||
|
||||
echo 'Copying back to Kavita wwwroot'
|
||||
mkdir ../API/wwwroot
|
||||
cp -r dist/* ../API/wwwroot
|
||||
echo 'Checking Kavita wwwroot for copying integrity'
|
||||
ls -l ../API/wwwroot
|
||||
rsync -a dist/ ../API/wwwroot/
|
||||
|
||||
cd ../ || exit
|
||||
|
||||
- name: Compile dotnet app
|
||||
|
@ -69,9 +66,6 @@ jobs:
|
|||
push: true
|
||||
tags: kizaing/kavita:latest
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue