Skip to content

Commit

Permalink
Update google-cloudrun-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
furkmak authored Oct 3, 2024
1 parent c2d7a06 commit cdef170
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/google-cloudrun-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,19 @@ jobs:
# BEGIN - Docker auth and build
#
# If you already have a container image, you can omit these steps.
- name: 'Docker Auth'
uses: 'docker/login-action@v3' # docker/login-action@v3
#- name: 'Docker Auth'
# uses: 'docker/login-action@v3' # docker/login-action@v3
# with:
# username: 'oauth2accesstoken'
# password: '${{ steps.auth.outputs.auth_token }}'
# registry: '${{ env.REGION }}-docker.pkg.dev'
-
name: Login to GAR
uses: docker/login-action@v3
with:
username: 'oauth2accesstoken'
password: '${{ steps.auth.outputs.auth_token }}'
registry: '${{ env.REGION }}-docker.pkg.dev'
registry: us-west1-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCP_CREDENTIALS }}

- name: 'Build and Push Container'
run: |-
Expand Down

0 comments on commit cdef170

Please sign in to comment.