Skip to content

An SSH client meant to be run in CI services

License

Notifications You must be signed in to change notification settings

apihackers/docker-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Remote

Docker Build Status Commit Download size

An SSH client meant to be run in CI services.

Getting started

Fetch the docker image:

$ docker pull apihackers/remote

and then execute your remote commands:

$ docker run -rm -e SSH_USER -e SSH_HOST -e SSH_KEY -e WORKDIR apihackers/remote run-my-command with params

Environment variables

SSH_USER: the user to connect with. Default to root

SSH_HOST: the remote host to connect to

SSH_KEY: the private ssh key to authenticate with

WORKDIR: an optionnal directory into which command will be executed

DEBUG: if set to true, print some debug infos (ie. echo commands)

Examples

Gitlab CI

Circle CI

Releases

No releases published

Packages

No packages published