fix: publish workflow auth — tegwick user, OpenBao token, explicit twine creds
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:
2026-06-17 00:14:24 +02:00
parent cb068cc2b5
commit 1c0c9accd9
3 changed files with 12 additions and 7 deletions

View File

@@ -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/*