Skip to content

Commit

Permalink
add: gcloud docker config command
Browse files Browse the repository at this point in the history
  • Loading branch information
JangAyeon committed Apr 14, 2024
1 parent 273948a commit 450c725
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
project_id: ${{secrets.GOOGLE_PROJECT}}
service_account_key: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
export_default_credentials: true
run: |
gcloud auth configure-docker us-central1-docker.pkg.dev

- name: install gcloud CLI
run: gcloud auth configure-docker us-central1-docker.pkg.dev

- name: build and push docker image
env:
GOOGLE_PROJECT: ${{secrets.GOOGLE_PROJECT}}

0 comments on commit 450c725

Please sign in to comment.