Closed harshitaXerox closed 1 year ago
I tried with google-github-actions/auth@v1 but still the gha-creds file is getting pushed along with the artifact.
Is it in your .gcloudignore?
yes it is
Hmm - okay.
Could you please show your .gcloudignore
and .gitignore
for this repo?
Could you please show the entire repo structure (tree
on Linux systems)
Could you please provide the debug output for the complete GitHub Actions workflow run?
Hi @harshitaXerox - those are not the debug logs - there are no debug statements. You need to enable debug logging as shown here and re-run your workflow.
Hi @sethvargo here are the debug logs logs_2061.zip
Hi @harshitaXerox - those are still not debug logs. You must set ACTIONS_RUNNER_DEBUG
to true and
ACTIONS_STEP_DEBUGto
true` as secrets and then re-run the workflow.
Here are the logs after setting both ACTIONS_RUNNER_DEBUG to true and ACTIONS_STEP_DEBUG to true. logs_2063.zip
You aren't checking out the repository in the deploy
step, so the .gcloudignore
isn't present. Specifically, $GITHUB_WORKSPACE
is not set, so the action does not know where to look for a gcloud ignore.
TL;DR
Hi Team,
The gha-creds* file is also getting pushed to the cloud storage along with the build folder.
Could you please check and let us know if by any chance we can ignore this file.
id: 'auth' uses: 'google-github-actions/auth@v0' with: credentials_json: '${{ secrets.***}}' export_environment_variables: false
Thanks Harshita
Expected behavior
No response
Observed behavior
No response
Action YAML
Log output
No response
Additional information
No response