fix: publish workflow auth — tegwick user, OpenBao token, explicit twine creds
Some checks failed
ci / test (push) Failing after 37s
Some checks failed
ci / test (push) Failing after 37s
inter-hub-pkg-rep is the Gitea token name (not a username). PACKAGE_USER is tegwick; token custody is OpenBao platform/operators/inter-hub/package-management. Disable keyring in CI and pass twine --username/--password explicitly.
This commit is contained in:
@@ -25,6 +25,7 @@ jobs:
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.PACKAGE_USER }}
|
||||
TWINE_PASSWORD: ${{ secrets.PACKAGE_TOKEN }}
|
||||
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
|
||||
run: |
|
||||
cd repo
|
||||
python3 -m venv .build-venv
|
||||
@@ -33,5 +34,8 @@ jobs:
|
||||
python -m build
|
||||
python -m twine check dist/*
|
||||
python -m twine upload \
|
||||
--username "${TWINE_USERNAME}" \
|
||||
--password "${TWINE_PASSWORD}" \
|
||||
--non-interactive \
|
||||
--repository-url https://gitea.coulomb.social/api/packages/coulomb/pypi \
|
||||
dist/*
|
||||
|
||||
Reference in New Issue
Block a user