diff --git a/.github/workflows/publish-to-jfrog.yml b/.github/workflows/publish-to-jfrog.yml new file mode 100644 index 0000000..e4c732e --- /dev/null +++ b/.github/workflows/publish-to-jfrog.yml @@ -0,0 +1,26 @@ +# SPDX-FileCopyrightText: 2024 Ledger SAS +# +# SPDX-License-Identifier: Apache-2.0 + +name: Upload Python Package to jfrog + +on: + push: + branches: + - main + +jobs: + pubhlish: + permissions: + id-token: write + contents: read + attestations: write + uses: outpost-os/pipeline-python/.github/workflows/publish.yml@main + with: + environment: publish + runner: outpost-os-shared-small + python-version: '3.10' + build-name: svd2json-dev + module-name: svd2json + repo-name: outpost-pypi-dev-green + virtual-repo-name: outpost-pypi-virtual-green diff --git a/.github/workflows/release-to-jfrog.yml b/.github/workflows/release-to-jfrog.yml new file mode 100644 index 0000000..70f89b3 --- /dev/null +++ b/.github/workflows/release-to-jfrog.yml @@ -0,0 +1,25 @@ +# SPDX-FileCopyrightText: 2024 Ledger SAS +# +# SPDX-License-Identifier: Apache-2.0 + +name: Upload Python Package to jfrog + +on: + release: + types: [released] + +jobs: + pubhlish: + permissions: + id-token: write + contents: read + attestations: write + uses: outpost-os/pipeline-python/.github/workflows/publish.yml@main + with: + environment: publish + runner: outpost-os-shared-small + python-version: '3.10' + build-name: svd2json-release + module-name: svd2json + repo-name: outpost-pypi-prod-public + virtual-repo-name: outpost-pypi-virtual-green