Skip to content

Commit 7640918

Browse files
committed
Extract audience values
1 parent c49d377 commit 7640918

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/oidc-integration-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ concurrency:
1818
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }}
1919
cancel-in-progress: true
2020

21+
env:
22+
AUDIENCE_VALUES: "['', 'test-audience', 'github-jfrog']"
23+
2124
permissions:
2225
id-token: write
2326
contents: read
@@ -26,7 +29,7 @@ jobs:
2629
generate-oidc-integration:
2730
strategy:
2831
matrix:
29-
audience_value: [ '' ,'test-audience','github-jfrog' ]
32+
audience_value: ${{ env.AUDIENCE_VALUES }}
3033
runs-on: ubuntu-latest
3134
outputs:
3235
oidc_provider_name: ${{ steps.gen-oidc.outputs.oidc_provider_name }}
@@ -81,7 +84,7 @@ jobs:
8184
matrix:
8285
os: [ ubuntu, macos, windows ]
8386
cli-version: [ '2.74.1', '2.75.0','latest' ]
84-
audience_value: [ '' ,'test-audience','github-jfrog' ]
87+
audience_value: ${{ env.AUDIENCE_VALUES }}
8588
runs-on: ${{ matrix.os }}-latest
8689
env:
8790
JFROG_CLI_LOG_LEVEL: DEBUG

0 commit comments

Comments
 (0)