Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this works for Json file instead of yaml #2

Open
kondurure opened this issue May 21, 2024 · 0 comments
Open

Is this works for Json file instead of yaml #2

kondurure opened this issue May 21, 2024 · 0 comments

Comments

@kondurure
Copy link

Is this works for Json file instead of yaml.

Json file:
[
{
"entry": [
{
"name": "key",
"value": "123"
},
{
"name": "password",
"value": "projects//secrets/test"
}
],
"name": "test-secret"
}
]

- uses: nightstory/gcp-secrets-action@v1
    with:
      #gcp_credentials_json: ${{ env.GOOGLE_APPLICATION_CREDENTIALS }}
      template_file: config/test.json

  - name: cat file
    id: cat
    run: |
       pwd
       cat  config/test.json

but here json file is not replacing with actuval value from secret manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant