mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2025-12-06 17:09:39 +01:00
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -3,18 +3,12 @@ name: ci
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
- '8.1'
|
||||
- '8.0'
|
||||
- '7.4'
|
||||
- '7.2'
|
||||
- '**'
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- 'master'
|
||||
- '8.1'
|
||||
- '8.0'
|
||||
- '7.4'
|
||||
- '7.2'
|
||||
- '**'
|
||||
|
||||
env:
|
||||
#BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
@@ -61,11 +61,8 @@ RUN docker-php-ext-install pdo_mysql
|
||||
RUN docker-php-ext-install pdo_pgsql
|
||||
|
||||
|
||||
# Get latest Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
# Install Laravel Envoy
|
||||
RUN composer global require "laravel/envoy=~1.0"
|
||||
# Install Composer
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
# Set working directory
|
||||
WORKDIR $WORKDIR
|
||||
|
||||
Reference in New Issue
Block a user