Build images with PHP 8.5 and Vite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3926b26ae7
commit
2e4abca455
3 files changed
+5
-8
No files matched your search
@@ -19,13 +19,13 @@ jobs:
|
||||
password: ${{ secrets.OVH_REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Install Dependencies and Build Assets
|
||||
uses: docker://chill/base-image:8.4-edge
|
||||
uses: docker://chill/base-image:8.5-edge
|
||||
env:
|
||||
APP_ENV: prod
|
||||
with:
|
||||
entrypoint: /bin/sh
|
||||
# We install node/yarn inside the PHP container to ensure translations are available
|
||||
args: -c "apk add --no-cache nodejs yarn && composer install --no-scripts --no-interaction && bin/console cache:clear && yarn install && yarn run encore production"
|
||||
# We install node/npm inside the PHP container: the Vite build needs the translations dumped by cache:warmup
|
||||
args: -c "apk add --no-cache nodejs npm && composer install --no-scripts --no-interaction && bin/console cache:warmup && npm ci && npm run build"
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: https://github.com/docker/setup-buildx-action@v3
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
with:
|
||||
cmd: 'cat composer.lock | jq --raw-output ''.packages[] | select ( .name | contains ("chill-project/chill-bundles")) | .version'''
|
||||
- name: run composer update to update composer.lock
|
||||
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
|
||||
uses: docker://chill/base-image:8.5-edge
|
||||
with:
|
||||
# this is where we set the command to execute
|
||||
args: composer update --no-install
|
||||
|
||||
Reference in new issue
Block a user