Use get-vault-secrets action
Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
parent
a97fa64880
commit
0210fba39d
11
.github/workflows/helm-release.yml
vendored
11
.github/workflows/helm-release.yml
vendored
@ -66,11 +66,18 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: needs.setup.outputs.changed == 'true'
|
if: needs.setup.outputs.changed == 'true'
|
||||||
steps:
|
steps:
|
||||||
|
- id: get-secrets
|
||||||
|
uses: grafana/shared-workflows/actions/get-vault-secrets@main
|
||||||
|
with:
|
||||||
|
# Secrets placed in the ci/repo/grafana/<repo>/<path> path in Vault
|
||||||
|
repo_secrets: |
|
||||||
|
APP_ID=meta-monitoring-chart:app-id
|
||||||
|
PRIVATE_KEY=meta-monitoring-chart:private-key
|
||||||
- uses: actions/create-github-app-token@v1
|
- uses: actions/create-github-app-token@v1
|
||||||
id: app-token
|
id: app-token
|
||||||
with:
|
with:
|
||||||
app-id: ${{ secrets.APP_ID }}
|
app-id: ${{ env.APP_ID }}
|
||||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
private-key: ${{ env.PRIVATE_KEY }}
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user