fix: switch pgvector image build to SA key auth (bypass broken WIF)
This commit is contained in:
parent
c98a69580f
commit
eec93f6216
1 changed files with 2 additions and 3 deletions
5
.github/workflows/build-pgvector-image.yml
vendored
5
.github/workflows/build-pgvector-image.yml
vendored
|
|
@ -10,7 +10,6 @@ env:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -22,8 +21,8 @@ jobs:
|
||||||
- name: Authenticate to GCR
|
- name: Authenticate to GCR
|
||||||
uses: google-github-actions/auth@v2
|
uses: google-github-actions/auth@v2
|
||||||
with:
|
with:
|
||||||
workload_identity_provider: "projects/devops-lab-cluster/locations/global/workloadIdentityPools/github-pool/providers/github-provider"
|
credentials_json: ${{ secrets.GCLOUD_SERVICE_ACCOUNT_KEY }}
|
||||||
service_account: "github-deployer@devops-lab-cluster.iam.gserviceaccount.com"
|
project_id: devops-lab-cluster
|
||||||
token_format: access_token
|
token_format: access_token
|
||||||
|
|
||||||
- name: Docker Login to GCR
|
- name: Docker Login to GCR
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue