mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-27 07:47:02 -05:00
ci: prevent google auth warnings when reauthenticating (#1697)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
0c206e62d0
commit
12216ea997
12
.github/actions/login_gcp/action.yml
vendored
12
.github/actions/login_gcp/action.yml
vendored
@ -7,6 +7,18 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
- name: Clean env to prevent warnings
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE=" >> "$GITHUB_ENV"
|
||||||
|
echo "GOOGLE_APPLICATION_CREDENTIALS=" >> "$GITHUB_ENV"
|
||||||
|
echo "GOOGLE_GHA_CREDS_PATH=" >> "$GITHUB_ENV"
|
||||||
|
echo "CLOUDSDK_CORE_PROJECT=" >> "$GITHUB_ENV"
|
||||||
|
echo "CLOUDSDK_PROJECT=" >> "$GITHUB_ENV"
|
||||||
|
echo "GCLOUD_PROJECT=" >> "$GITHUB_ENV"
|
||||||
|
echo "GCP_PROJECT=" >> "$GITHUB_ENV"
|
||||||
|
echo "GOOGLE_CLOUD_PROJECT=" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
# As described at:
|
# As described at:
|
||||||
# https://github.com/google-github-actions/setup-gcloud#service-account-key-json
|
# https://github.com/google-github-actions/setup-gcloud#service-account-key-json
|
||||||
- name: Authorize GCP access
|
- name: Authorize GCP access
|
||||||
|
Loading…
x
Reference in New Issue
Block a user