Drone plugin for publishing files and artifacts to Azure Storage
./drone-azure-storage <<EOF
{
"repo": {
"clone_url": "git://github.com/drone/drone",
"full_name": "drone/drone"
},
"build": {
"event": "push",
"branch": "master",
"commit": "436b7a6e2abaddfd35740527353e78a227ddcb2c",
"ref": "refs/heads/master"
},
"workspace": {
"root": "/drone/src",
"path": "/drone/src/github.com/drone/drone"
},
"vargs": {
"account_key": ""
"storage_account": "my-storage-account",
"container": "my-container"
"source": "folder/to/upload"
}
}
EOF
Build the Docker container using make
:
make deps build docker
docker run -i plugins/drone-azure-storage <<EOF
{
"repo": {
"clone_url": "git://github.com/drone/drone",
"full_name": "drone/drone"
},
"build": {
"event": "push",
"branch": "master",
"commit": "436b7a6e2abaddfd35740527353e78a227ddcb2c",
"ref": "refs/heads/master"
},
"workspace": {
"root": "/drone/src",
"path": "/drone/src/github.com/drone/drone"
},
"vargs": {
"account_key": ""
"storage_account": "my-storage-account",
"container": "my-container"
"source": "folder/to/upload"
}
}
EOF