Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/jfrog-github-oidc-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Setup JFrog CLI OIDC Example"
on: push

permissions:
# This is required for requesting the OIDC token
id-token: write
# This is required for actions/checkout
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup JFrog CLI
uses: jfrog/setup-jfrog-cli@v4
env:
JF_URL: ${{ vars.JF_URL }}
with:
oidc-provider-name: Sohardh/account-statement-service@github

- name: Run JFrog CLI
run: |
# Ping the server
jf rt ping
Loading