Skip to content

Commit 6583aac

Browse files
committed
Use access token instead of oidc
1 parent e52ea49 commit 6583aac

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/sonar-evidence-example.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ jobs:
2929
uses: jfrog/setup-jfrog-cli@v4
3030
env:
3131
JF_URL: ${{ vars.ARTIFACTORY_URL }}
32-
with:
33-
oidc-provider-name: jfrog-github-oidc
34-
version: latest
32+
JF_ACCESS_TOKEN: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
3533

3634
- uses: actions/checkout@v4
3735

@@ -54,8 +52,8 @@ jobs:
5452
uses: docker/login-action@v3
5553
with:
5654
registry: ${{ vars.ARTIFACTORY_URL }}
57-
username: ${{ steps.setup-cli.outputs.oidc-user }}
58-
password: ${{ steps.setup-cli.outputs.oidc-token }}
55+
username: ${{ secrets.JF_USER }}
56+
password: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
5957

6058
- name: Set up Docker Buildx
6159
uses: docker/setup-buildx-action@v3

0 commit comments

Comments
 (0)