Skip to content

Commit

Permalink
chore: Add docker login step
Browse files Browse the repository at this point in the history
  • Loading branch information
quangkeu95 committed Sep 7, 2024
1 parent 4726edc commit cc00c74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ jobs:
cluster_name: ${{ secrets.GKE_CLUSTER }}
location: ${{ env.GKE_ZONE }}
project_id: ${{ secrets.GCLOUD_PROJECT_ID }}
- name: Login to Artifact Registry
uses: docker/login-action@v1
with:
registry: ${{ env.GCLOUD_ZONE }}-docker.pkg.dev
username: oauth2accesstoken
password: ${{ steps.auth.outputs.access_token }}
- name: Build and push
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit cc00c74

Please sign in to comment.