mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Fixed entrypoint chown statement (#304)
* Fix entrypoint * Rescope chart actions
This commit is contained in:
5
.github/workflows/charts.yaml
vendored
5
.github/workflows/charts.yaml
vendored
@@ -1,6 +1,9 @@
|
||||
name: Lint and Test Charts
|
||||
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "charts/**"
|
||||
|
||||
jobs:
|
||||
lint-chart:
|
||||
|
||||
@@ -83,7 +83,7 @@ fi
|
||||
rm -rf "$BAK_PUBLIC_PATH"
|
||||
|
||||
# Set permission for web server to create/update files (only <v4)
|
||||
if [[ ${str::1} -le 4 ]]; then
|
||||
if [[ ${INVOICENINJA_VERSION::1} -le 4 ]]; then
|
||||
chown -R "$INVOICENINJA_USER":www-data /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user