Ensure Authenticated to GCR when GOOGLE_CREDENTIALS supplied to action (#4812)
This commit is contained in:
parent
481750ec5b
commit
1357be4afb
|
@ -8,6 +8,10 @@ CHANGELOG
|
|||
|
||||
- Fix panic on `pulumi up` prompt after preview when filtering and hitting arrow keys.
|
||||
[#4808](https://github.com/pulumi/pulumi/pull/4808)
|
||||
|
||||
- Ensure GitHub Action authenticates to GCR when `$GOOGLE_CREDENTIALS` specified
|
||||
[#4812](https://github.com/pulumi/pulumi/pull/4812)
|
||||
|
||||
|
||||
## 2.4.0 (2020-06-10)
|
||||
- Turn program generation NYIs into diagnostic errors
|
||||
|
|
1
dist/actions/entrypoint.sh
vendored
1
dist/actions/entrypoint.sh
vendored
|
@ -86,6 +86,7 @@ if [ ! -z "$GOOGLE_CREDENTIALS" ]; then
|
|||
echo "$GOOGLE_CREDENTIALS" > $GOOGLE_APPLICATION_CREDENTIALS
|
||||
fi
|
||||
gcloud auth activate-service-account --key-file=$GOOGLE_APPLICATION_CREDENTIALS
|
||||
gcloud --quiet auth configure-docker
|
||||
fi
|
||||
|
||||
# Next, run npm install. We always call this, as
|
||||
|
|
Loading…
Reference in a new issue