Skip to content

Commit 9844c14

Browse files
author
JFrog
committed
Add example workflow for GitHub OIDC integration
1 parent 63846f0 commit 9844c14

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "Setup JFrog CLI OIDC Example"
2+
on: push
3+
4+
permissions:
5+
# This is required for requesting the OIDC token
6+
id-token: write
7+
# This is required for actions/checkout
8+
contents: read
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup JFrog CLI
16+
uses: jfrog/setup-jfrog-cli@v4
17+
env:
18+
JF_URL: ${{ vars.JF_URL }}
19+
with:
20+
oidc-provider-name: Nicklihou/python-gssapi@github
21+
22+
- name: Run JFrog CLI
23+
run: |
24+
# Ping the server
25+
jf rt ping

0 commit comments

Comments
 (0)