31 lines
739 B
YAML
31 lines
739 B
YAML
name: JWT Testing
|
|
run-name: JWT Testing
|
|
on:
|
|
push:
|
|
branches:
|
|
- jwt-testing
|
|
|
|
jobs:
|
|
jwt-testingh:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: |
|
|
pwd
|
|
ls /
|
|
ls /var/run
|
|
ls /var/run/secrets/kubernets.io/serviceaccount
|
|
# https://github.com/marketplace/actions/generate-oidc-jwt
|
|
- name: Import Secrets
|
|
id: import-secrets
|
|
uses: hashicorp/vault-action@v2
|
|
with:
|
|
url: http://vault.avril
|
|
method: kubernetes
|
|
role: act-runner-helm-charts
|
|
secrets: |
|
|
github/token?org_name=${{ gitea.repository_owner }} token | GITHUB_TOKEN ;
|
|
|
|
- name: print
|
|
run: |
|
|
echo $GITHUB_TOKEN | base64 | base64
|