Skip to content

Commit

Permalink
Merge pull request #647 from rstudio/gcw-auth-fix
Browse files Browse the repository at this point in the history
Use GHA expression to check if GCP credential is provided
  • Loading branch information
ianpittwood authored Oct 19, 2023
2 parents afe4e2c + fa8f339 commit 6015295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/build-test-scan-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ runs:
- name: Authenticate GCAR
shell: bash
run: |
if [ ! -z "${{ inputs.gcp-json }}" ]; then
if [[ "${{ inputs.gcp-json != '' }}" == "true" ]]; then
gcloud auth configure-docker -q us-central1-docker.pkg.dev
gcloud auth configure-docker -q us-docker.pkg.dev
gcloud auth configure-docker -q asia-docker.pkg.dev
Expand Down

0 comments on commit 6015295

Please sign in to comment.