From: ModeSevenIndustrialSolutions Date: Wed, 24 Sep 2025 11:38:28 +0000 (+0100) Subject: CI: Add environment static credentials for next tag/push X-Git-Tag: v0.37.14 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=11bd1a8ba944e628417749898c23730ecd0debd5;p=releng%2Flftools.git CI: Add environment static credentials for next tag/push The lftools package isn't found on test.pypi.org, which is resulting in the fallback mechanism being used by our pypi-publish-action, which requires either a 1Password service account, and a vault credential, or a static password provided in the development/production environments. This change will pass the missing secrets through to the action. Change-Id: I1a42ac19fb2be00740023072531944931f51d138 Signed-off-by: ModeSevenIndustrialSolutions --- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3835a408..02d18fb3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -164,6 +164,7 @@ jobs: with: environment: 'development' tag: "${{ needs.tag-validate.outputs.tag }}" + pypi_credential: "${{ secrets.TEST_PYPI_CREDENTIAL }}" pypi: name: 'Release PyPI Package' @@ -194,6 +195,7 @@ jobs: environment: 'production' attestations: true tag: "${{ needs.tag-validate.outputs.tag }}" + pypi_credential: "${{ secrets.PYPI_CREDENTIAL }}" # Need to attach build artefacts to the release # This step could potentially be moved