Sign inSign up

mwienk/php-deployer

By mwienk

Updated over 5 years ago

PHP Deployer docker image (https://deployer.org)

Image
2

10K+

mwienk/php-deployer repository overview

mwienk/php-deployer

This repository contains the Dockerfile for the image that can be used to deploy PHP projects with https://deployer.org. Contains the source version of Deployer and the recipes package.

Example use in .gitlab-ci.yml

deploy:
  stage: deploy
  image: mwienk/php-deployer
  only:
    - tags
  before_script:
    - eval $(ssh-agent -s)
    - ssh-add <(echo "$SSH_PRIVATE_KEY")
    - mkdir -p ~/.ssh
    - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
  script:
    - dep deploy ${CI_ENVIRONMENT_NAME} --tag=$CI_COMMIT_REF_NAME

Tag summary

Content type

Image

Digest

Size

59.6 MB

Last updated

over 5 years ago

docker pull mwienk/php-deployer