Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
testing id token creation
Browse files Browse the repository at this point in the history
  • Loading branch information
aalsabag committed Jul 31, 2024
1 parent 7a137e0 commit 26c79d6
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions .github/workflows/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,16 @@ on:
push:
branches:
- main
- ahmed-token-test
workflow_dispatch:

jobs:
build-and-push:
uses: liatrio/gh-trusted-builds-workflows/.github/workflows/[email protected]
permissions:
actions: read
id-token: write
contents: read
packages: write
pull-requests: read
security-scan:
needs: [ build-and-push ]
uses: liatrio/gh-trusted-builds-workflows/.github/workflows/[email protected]
permissions:
id-token: write
contents: read
packages: write
with:
digest: ${{ needs.build-and-push.outputs.digest }}
policy-verification:
needs:
- build-and-push
- security-scan
uses: liatrio/gh-trusted-builds-workflows/.github/workflows/[email protected]
permissions:
id-token: write
contents: read
packages: write
with:
digest: ${{ needs.build-and-push.outputs.digest }}
deploy:
needs:
- build-and-push
- policy-verification
uses: liatrio/gh-trusted-builds-workflows/.github/workflows/[email protected]
ahmed-token-test:
permissions:
id-token: write
packages: read
contents: read
with:
digest: ${{ needs.build-and-push.outputs.digest }}
steps:
- name: Get Token
run: |
echo $ACTIONS_ID_TOKEN_REQUEST_TOKEN

0 comments on commit 26c79d6

Please sign in to comment.