mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Merge pull request '[deploy-opentofu]' (#221) from fenix-admin into main
Reviewed-on: fenix-gitea-admin/iac-opentofu-private#221
This commit is contained in:
@ -126,12 +126,10 @@ jobs:
|
|||||||
BW_SESSION=$(bw login)
|
BW_SESSION=$(bw login)
|
||||||
|
|
||||||
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
- name: vaultwarden getsecrets
|
- name: vaultwarden getsecrets
|
||||||
working-directory: infra/iac
|
working-directory: infra/iac
|
||||||
run: |
|
run: |
|
||||||
BW_SESSION2=$(bw unlock --raw)
|
BW_SESSION2=$(bw unlock --raw --session "$BW_SESSION")
|
||||||
# Ler o arquivo de referência
|
# Ler o arquivo de referência
|
||||||
for secret in $(jq -c '.secrets[]' secrets/vault-secrets-map.json); do
|
for secret in $(jq -c '.secrets[]' secrets/vault-secrets-map.json); do
|
||||||
name=$(echo "$secret" | jq -r '.name')
|
name=$(echo "$secret" | jq -r '.name')
|
||||||
|
|||||||
Reference in New Issue
Block a user