Provide php 8.5 image #88
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: master | |
| pull_request: | |
| jobs: | |
| pipeline: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Prepare | |
| run: | | |
| docker build --tag ghcr.io/gaming-platform/docker-php-fpm:8.5-development \ | |
| . | |
| docker build --build-arg environment=production \ | |
| --build-arg php_opcache_jit=tracing \ | |
| --build-arg php_opcache_jit_buffer_size=256M \ | |
| --build-arg php_opcache_validate_timestamps=0 \ | |
| --build-arg php_zend_assertions=-1 \ | |
| --build-arg php_http_log_flush=5s \ | |
| --tag ghcr.io/gaming-platform/docker-php-fpm:8.5-production \ | |
| . | |
| - name: Deploy | |
| if: github.ref == 'refs/heads/master' | |
| run: | | |
| echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin | |
| docker push ghcr.io/gaming-platform/docker-php-fpm:8.5-development | |
| docker push ghcr.io/gaming-platform/docker-php-fpm:8.5-production |