We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4926e92 commit 324f9d0Copy full SHA for 324f9d0
.github/workflows/ci.yaml
@@ -104,13 +104,18 @@ jobs:
104
with:
105
ref: 'main'
106
107
- - name: Authenticate with Google Cloud
+ - id: auth
108
+ name: Authenticate with Google Cloud
109
uses: google-github-actions/auth@v1
110
111
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
112
- - name: Configure Docker
113
- uses: docker/setup-buildx-action@v1
+ - name: Login to GCR
114
+ uses: docker/login-action@v2
115
+ with:
116
+ registry: gcr.io
117
+ username: oauth2accesstoken
118
+ password: ${{ steps.auth.outputs.access_token }}
119
120
- name: Build and push Docker image
121
uses: docker/build-push-action@v2
0 commit comments