Sign inSign up

dotsunited/git-ftp

By dotsunited

•Updated about 1 year ago

A minimal Alpine Linux docker container with git-ftp.

Image
1

100K+

dotsunited/git-ftp repository overview

⁠docker-git-ftp

A minimal Alpine Linux docker image with the latest git-ftp⁠ suited for automated deployments via Continuous Delivery systems like GitLab Pipelines.

Automatically build upon pushes to the master branch: https://hub.docker.com/r/dotsunited/git-ftp⁠

⁠Usage

Example .gitlab-ci.yml configuration:

deploy_production:
  image: dotsunited/git-ftp
  stage: deploy
  environment:
    name: production
    url: https://example.com
  only:
    - master
  script:
    - git ftp push -v --syncroot public/ --user $FTP_DEPLOY_USER --passwd $FTP_DEPLOY_PASSWORD $FTP_DEPLOY_HOST

Make sure, you configure the $FTP_DEPLOY_USER, $FTP_DEPLOY_PASSWORD and $FTP_DEPLOY_HOST variables in the CI/CD settings on GitLab.

⁠License

Copyright (c) 2017-2024 Dots United GmbH. Released under the MIT⁠ license.

Tag summary

Content type

Image

Digest

sha256:7d2bbbb35…

Size

18.5 MB

Last updated

about 1 year ago

docker pull dotsunited/git-ftp