https://github.com/drone-plugins/drone-azure-web-apps
Drone plugin for deploying to Azure Web Apps
https://github.com/drone-plugins/drone-azure-web-apps
drone drone-plugin
Last synced: 4 months ago
JSON representation
Drone plugin for deploying to Azure Web Apps
- Host: GitHub
- URL: https://github.com/drone-plugins/drone-azure-web-apps
- Owner: drone-plugins
- License: apache-2.0
- Created: 2015-11-17T18:14:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T14:27:20.000Z (over 3 years ago)
- Last Synced: 2024-06-21T18:00:05.071Z (almost 2 years ago)
- Topics: drone, drone-plugin
- Language: Go
- Homepage: http://plugins.drone.io/drone-plugins/drone-azure-web-apps
- Size: 65.4 KB
- Stars: 1
- Watchers: 8
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drone-azure-web-apps
[](http://cloud.drone.io/drone-plugins/drone-azure-web-apps)
[](https://gitter.im/drone/drone)
[](https://discourse.drone.io)
[](https://stackoverflow.com/questions/tagged/drone.io)
[](https://microbadger.com/images/plugins/azure-web-apps "Get your own image badge on microbadger.com")
[](http://godoc.org/github.com/drone-plugins/drone-azure-web-apps)
[](https://goreportcard.com/report/github.com/drone-plugins/drone-azure-web-apps)
Drone plugin to deploy or update a project on Azure Web Apps. For the usage information and a listing of the available options please take a look at [the docs](http://plugins.drone.io/drone-plugins/drone-azure-web-apps/).
## Build
Build the binary with the following command:
```console
export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
export GO111MODULE=on
go build -v -a -tags netgo -o release/linux/amd64/drone-azure-web-apps
```
## Docker
Build the Docker image with the following command:
```console
docker build \
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
--file docker/Dockerfile.linux.amd64 --tag plugins/azure-web-apps .
```
### Usage
```console
docker run --rm \
-e PLUGIN_USERNAME=octocat \
-e PLUGIN_PASSWORD=p455w0rd \
-e PLUGIN_SITE=awesome \
-e PLUGIN_FORCE=true \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/azure-web-apps
```