.forgejo/workflows/openbao.yml hinzugefügt
This commit is contained in:
parent
a50bc46701
commit
0bc6b81c8c
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/openbao.yml
Normal file
23
.forgejo/workflows/openbao.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
name: openbao
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Read Openbao secrets
|
||||||
|
id: read-openbao-secrets
|
||||||
|
uses: hashicorp/vault-action@v2
|
||||||
|
with:
|
||||||
|
url: https://vault-test.mms-at-work.de:8200
|
||||||
|
token: ${{ secrets.VAULT_TEST_TOKEN }}
|
||||||
|
secrets: |
|
||||||
|
testproject/test/testproject foo | FOO
|
||||||
|
- name: Echo secret value from Openbao
|
||||||
|
run: echo "$FOO"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue