mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
take 3?
This commit is contained in:
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
uses: aws-actions/amazon-ecr-login@v1
|
||||
|
||||
- name: Prepare Composer Auth Secret
|
||||
run: echo '${{ secrets.COMPOSER_AUTH }}' > composer-auth.json
|
||||
run: echo '${{ env.COMPOSER_AUTH }}' > composer-auth.json
|
||||
|
||||
- name: Build and Release
|
||||
uses: docker/bake-action@v2
|
||||
|
||||
@@ -45,11 +45,9 @@ RUN chown -R www-data:www-data /var/www/html/api
|
||||
RUN mkdir -p ./storage/logs/ && ln -sf /dev/stdout ./storage/logs/laravel-$(date +'%Y-%m-%d').log
|
||||
RUN chown -R www-data:www-data /var/www/html/api/storage
|
||||
RUN chmod -R 755 /var/www/html/api/storage
|
||||
RUN export LOG_CHANNEL=stderr
|
||||
USER www-data
|
||||
RUN composer install --no-cache
|
||||
RUN composer dumpautoload
|
||||
RUN unset LOG_CHANNEL
|
||||
|
||||
# Continue
|
||||
USER root
|
||||
|
||||
Reference in New Issue
Block a user