normal #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "OIDC project" | |
on: push | |
env: | |
JFROG_CLI_LOG_LEVEL: "DEBUG" | |
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 | |
#runs-on: self-hosted | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JFrog CLI | |
#uses: jfrog/setup-jfrog-cli@v4 | |
uses: RobiNino/setup-jfrog-cli@oidc-project | |
#uses: RobiNino/setup-jfrog-cli@reorder-summary | |
env: | |
#JFROG_CLI_BUILD_NAME: "custom build name" | |
#JFROG_CLI_BUILD_NUMBER: "123" | |
#JF_URL: ${{ secrets.JF_URL_OIDC }} | |
JF_URL: ${{ vars.JF_URL_ECO }} | |
#JF_USER: ${{ secrets.JF_USER_OIDC }} | |
#JF_PASSWORD: ${{ secrets.JF_PASSWORD_OIDC }} | |
JF_PROJECT: robip | |
#JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} | |
with: | |
#download-repository: generic-local-robi | |
#disable-job-summary: true | |
#version: 2.59.1 | |
#oidc-provider-name: oidc-project-robi | |
#oidc-provider-name: oidc-normal-robi | |
oidc-provider-name: robi-oidc-test | |
- name: Generic build | |
run: | | |
jf -v | |
jf rt ping | |
cd bash-example | |
#jf rt u ./deploy-file.sh jfac-generic-local/ --module=generic-module | |
jf rt u ./deploy-file.sh example-repo-local/ --module=generic-module | |
- name: Publish build info | |
run: | | |
jf rt bce | |
jf rt bp |