Skip to content

Commit

Permalink
ci: adding jfrog publication
Browse files Browse the repository at this point in the history
  • Loading branch information
pthierry-ledger committed Sep 26, 2024
1 parent 8714416 commit 209da59
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish-to-jfrog.yml
Original file line number Diff line number Diff line change
@@ -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
25 changes: 25 additions & 0 deletions .github/workflows/release-to-jfrog.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 209da59

Please sign in to comment.