setup-jfrog-cli icon indicating copy to clipboard operation
setup-jfrog-cli copied to clipboard

OIDC-only mode that doesn’t install jfrog CLI

Open pavelzw opened this issue 5 months ago • 0 comments

Is your feature request related to a problem? Please describe.

We are using this action to authenticate with OIDC to jfrog’s servers. We don’t use jfrogs cli tools but our own tooling (docker, conda, pixi, …) Would it be possible to skip the download + configure cli parts and only do the OIDC auth in this action and skip all of the additional jf setup?

Describe the solution you'd like to see

- uses: jfrog/setup-jfrog-cli@v4
  id: artifactory
  with:
    oidc-provider-name: ${{ vars.ARTIFACTORY_OIDC_PROVIDER }}
    oidc-audience: ${{ vars.ARTIFACTORY_OIDC_AUDIENCE }}
    oidc-only: true
  env:
    JF_URL: ${{ vars.ARTIFACTORY_URL }}
- uses: prefix-dev/[email protected]
  with:
    auth-host: ${{ vars.ARTIFACTORY_URL }}
    auth-username: ${{ steps.artifactory.outputs.oidc-user }}
    auth-password: ${{ steps.artifactory.outputs.oidc-token }}

Describe alternatives you've considered

No response

Additional context

No response

pavelzw avatar Sep 05 '24 07:09 pavelzw