Sign inSign up

mtigdemir/php-deployer-pipeline

By mtigdemir

•Updated over 5 years ago

Deployer Pipeline Container for PHP Deployments

Image
0

1.6K

mtigdemir/php-deployer-pipeline repository overview

⁠How To Deploy PHP Application with Deployer via Bitbucket CI/CD

Please have a look at this article to find out how to use Deployer with self-build docker image and benefits of using your own image.

https://medium.com/@mtigdemir/php-deployment-with-deployer-to-aws-via-bitbucket-pipeline-a605763c63bf⁠

⁠How to use Deployer Image with Bitbucket Pipeline

⁠Available Versions
  • PHP 7.1 (mtigdemir\php-deployer-pipeline:7.1)
  • PHP 7.3 (mtigdemir\php-deployer-pipeline:7.3.25)
image: mtigdemir/php-deployer-pipeline:{version}

pipelines:
  branches:
    master:
      - step:
          caches:
            - composer
          script:
            - composer install 
            - vendor/bin/phpunit
            - dep deploy -vvv test
            
    production:
      - step:
          caches:
            - composer
          script:
            - composer install --no-dev
            - dep deploy production

Please note that, only PHP 7.1 tag uses Composer v1 and all the builds after that compatible with Composer v2

Tag summary

Content type

Image

Digest

Size

33.1 MB

Last updated

over 5 years ago

docker pull mtigdemir/php-deployer-pipeline