Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dotsunited/docker-git-ftp


https://github.com/dotsunited/docker-git-ftp

Last synced: about 21 hours ago
JSON representation

Awesome Lists containing this project

README

        

docker-git-ftp
==============

A minimal Alpine Linux docker image with the latest
[git-ftp](https://github.com/git-ftp/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:

```yml
deploy_production:
image: dotsunited/git-ftp
stage: deploy
environment:
name: production
url: https://example.com
only:
- master
script:
- git ftp push -v --auto-init --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) license.