Skip to content

Commit

Permalink
added in gloud credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Jun 11, 2024
1 parent 50fff88 commit 11f853f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-build-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ jobs:
build-args: |
BUILDKIT_INLINE_CACHE=1
- name: Set up gcloud CLI
uses: google-github-actions/[email protected]
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
project_id: genuine-flight-317411
export_default_credentials: true

# Configure Docker to use the gcloud command-line tool as a credential helper for authentication
- name: Configure Docker
run: |-
gcloud auth configure-docker us-central1-docker.pkg.dev
- name: Verify gcloud configuration
run: |-
gcloud config get-value project
- name: Release Docker to old repo
run: |-
docker buildx build \
Expand Down

0 comments on commit 11f853f

Please sign in to comment.