mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 10:15:06 +08:00
4752a957a05638f993ffebc662b2e1527c927ec4
drone-pypi
Basic Drone Plugin for PyPi publishes with twine.
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%