Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 934 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 934 Bytes

Docker Deployer

Docker image to run Deployer in a pipeline.

https://hub.docker.com/r/jrobinsonc/deployer

Usage

Configure the SSH key in Bitbucket so Deployer can connect via SSH to the remote server: Repository settings > PIPELINES > SSH keys.

And you can start with this sample bitbucket-pipelines.yml that is deploying the stage production from the branch production:

image: jrobinsonc/deployer

pipelines:
  branches:
    production:
      - step:
          deployment: production
          script:
            - dep deploy production

In case you need port 22 only open for whitelisted IPs, you can read here to know the IPs used by the build environment from Bitbucket.