Skip to content

The Drone CLI encased in a docker container.

Notifications You must be signed in to change notification settings

aetheric/docker-drone-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone CLI

This image just packages the latest Drone Cli image into a container and sets it as the entrypoint.

The users working directory is /usr/src, and there is no default command.

Usage

To execute a local build:

docker run -it --rm --privileged \
	-v /var/run/docker.sock:/var/run/docker.sock \
	-v $(pwd):/usr/src/ \
	aetheric/drone-cli exec --local

To run against a drone server:

docker run -it --rm \
	-e DRONE_TOKEN=${DRONE_TOKEN} \
	-e DRONE_SERVER=${DRONE_SERVER} \
	aetheric/drone-cli info

or alternately (as per the help):

docker run -it --rm aetheric/drone-cli \
	--token ${DRONE_TOKEN} \
	--server ${DRONE_SERVER} \
	info

Contributing

Submit a pull request and I'll see about integrating it.

License

MIT

About

The Drone CLI encased in a docker container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages