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
.drone.yml | ||
.gitignore | ||
Dockerfile | ||
DOCS.md | ||
LICENSE | ||
logo.png | ||
main.go | ||
README.md | ||
wrapdocker |
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": "aufs"
}
}
EOF