Drone plugin for publishing Docker images using Docker-in-Docker (personal "fork" with focus on getting latest docker) https://hub.docker.com/r/immawanderer/drone-docker
Go to file
2015-05-14 23:58:43 -07:00
.drone.yml Update .drone.yml 2015-05-14 17:19:57 -07:00
.gitignore initial working version of plugin 2015-05-14 22:12:50 -07:00
Dockerfile stop docker service before exit 2015-05-14 23:20:26 -07:00
DOCS.md stop docker service before exit 2015-05-14 23:20:26 -07:00
LICENSE Initial commit 2015-05-14 16:58:41 -07:00
logo.png added plugin docs 2015-05-14 17:11:26 -07:00
main.go ability to, at least temporarily, set the storage driver 2015-05-14 23:58:43 -07:00
README.md ability to, at least temporarily, set the storage driver 2015-05-14 23:58:43 -07:00
wrapdocker stop docker service before exit 2015-05-14 23:20:26 -07:00

drone-docker

Drone plugin for publishing Docker images

Docker

Build the Docker container:

docker build --rm=true -t plugins/drone-docker .

Build and Publish a Docker container

docker run -i --privileged -v $(pwd):/drone/src plugins/drone-docker <<EOF
{
	"clone": {
		"dir": "/drone/src"
	},
	"commit" : {
		"sha": "9f2849d5",
		"branch": "master"
	},
	"vargs": {
		"username": "kevinbacon",
		"password": "pa$$word", 
		"email": "foo@bar.com", 
		"repo": "foo/bar",
		"storage_driver": "brtfs"
	}
}
EOF