0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-24 12:50:41 +00:00
Woodpecker CI plugin to build multiarch OCI images with buildx
Go to file
Brad Rydzewski b95a703ab3 updated docs
2015-09-02 22:14:15 -07:00
.drone.yml updated docs 2015-09-02 22:14:15 -07:00
.gitignore initial working version of plugin 2015-05-14 22:12:50 -07:00
Dockerfile mounting volume by default 2015-05-15 00:09:56 -07:00
DOCS.md updated docs 2015-09-02 22:14:15 -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 switch from Clone to Workspace object 2015-09-02 15:30:42 -07:00
README.md updated docs 2015-09-02 22:14:15 -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
{
	"workspace": {
		"path": "/drone/src"
	},
	"build" : {
		"number": 1,
		"head_commit": {
			"sha": "9f2849d5",
			"branch": "master",
			"ref": "refs/heads/master"
		}
	},
	"vargs": {
		"username": "kevinbacon",
		"password": "pa$$word", 
		"email": "foo@bar.com", 
		"repo": "foo/bar",
		"storage_driver": "aufs"
	}
}
EOF