CI: Add environment static credentials for next tag/push 48/73648/2 v0.37.14
authorModeSevenIndustrialSolutions <mwatkins@linuxfoundation.org>
Wed, 24 Sep 2025 11:38:28 +0000 (12:38 +0100)
committerModeSevenIndustrialSolutions <mwatkins@linuxfoundation.org>
Wed, 24 Sep 2025 11:40:39 +0000 (12:40 +0100)
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 <mwatkins@linuxfoundation.org>
.github/workflows/release.yaml

index 3835a40..02d18fb 100644 (file)
@@ -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