Dont call artisan optimize if BUILD is set
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 3m1s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 17m4s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
Create Docker Image / Build Docker Test Image (x86_64) (push) Successful in 40s
Create Docker Image / Final Docker Test Image Manifest (push) Successful in 8s
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 3m1s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 17m4s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
Create Docker Image / Build Docker Test Image (x86_64) (push) Successful in 40s
Create Docker Image / Final Docker Test Image Manifest (push) Successful in 8s
This commit is contained in:
parent
1edeb7c7e2
commit
83558e898f
@ -100,7 +100,7 @@ if [ -r artisan -a -e ${php}/.env ]; then
|
|||||||
|
|
||||||
# We only check for non mount points, in case this container has the app inside
|
# We only check for non mount points, in case this container has the app inside
|
||||||
mp=$(mp ${php})
|
mp=$(mp ${php})
|
||||||
if [ -n "${BUILD}" -o ${mp} -eq 0 ]; then
|
if [ -z "${BUILD}" -o ${mp} -eq 0 ]; then
|
||||||
echo " - Caching configuration..."
|
echo " - Caching configuration..."
|
||||||
CMD="php artisan optimize"
|
CMD="php artisan optimize"
|
||||||
( [ -n "${USE_SU}" ] && su ${SITE_USER} -s /bin/sh -c "${CMD}" ) || ${CMD}
|
( [ -n "${USE_SU}" ] && su ${SITE_USER} -s /bin/sh -c "${CMD}" ) || ${CMD}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user