Skip to content

Commit

Permalink
goggle
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuanianji committed Jan 7, 2024
1 parent 04e5ea8 commit b8bcfe6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
with:
credentials_json: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}

- name: Docker Auth
id: docker-auth
uses: 'docker/login-action@v1'
# https://github.com/docker/login-action/tree/v3?tab=readme-ov-file#google-artifact-registry-gar
- name: Login to Google Artifacts Registry
uses: docker/login-action@v2
with:
username: 'oauth2accesstoken'
password: '${{ steps.auth.outputs.access_token }}'
registry: '${{ vars.REGION }}-docker.pkg.dev'
registry: ${{ vars.REGION }}-docker.pkg.dev
username: oauth2accesstoken
password: ${{ steps.auth.outputs.access_token }}

- name: Build, tag and push container
id: build-image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit b8bcfe6

Please sign in to comment.