PyPI Buildkite OIDC support
Exchange a Buildkite OIDC token for a PyPI API Token, to securely push Python packages from your Buildkite pipelines.
steps:
- label: ":python: Build and push to PyPI"
plugins:
- sj26/pypi-oidc
command: |
python setup.py sdist
twine upload dist/*
Thanks
Inspired by https://github.com/pypa/gh-action-pypi-publish, with generous guidance from William Woodruff.