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