mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-02-01 11:47:10 +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
|
name: Lint and Test Charts
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "charts/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-chart:
|
lint-chart:
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ fi
|
|||||||
rm -rf "$BAK_PUBLIC_PATH"
|
rm -rf "$BAK_PUBLIC_PATH"
|
||||||
|
|
||||||
# Set permission for web server to create/update files (only <v4)
|
# 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
|
chown -R "$INVOICENINJA_USER":www-data /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user