diff --git a/.github/actions/build-test-scan-push/action.yaml b/.github/actions/build-test-scan-push/action.yaml index d0ff8544..6e120ff2 100644 --- a/.github/actions/build-test-scan-push/action.yaml +++ b/.github/actions/build-test-scan-push/action.yaml @@ -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