mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 10:15:06 +08:00
0b3c5e7bf245361d5947eeefff21b635058982b6
drone-pypi
Basic Drone Plugin for PyPi publishes. The plugin use twine to upload packages.
Build
Build the binary with the following commands:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-pypi
docker build --rm -t plugins/drone-pypi .
Usage
docker run --rm \
-e PLUGIN_USERNAME=jdoe \
-e PLUGIN_PASSWORD=my_secret \
-e PLUGIN_SKIP_BUILD=false \
-v $(pwd):$(pwd) \
-w $(pwd) \
plugins/drone-pypi
Description
Languages
Go
100%