Skip to content

Commit

Permalink
Set up docker auth before running infra.
Browse files Browse the repository at this point in the history
  • Loading branch information
anybodys committed Jun 22, 2024
1 parent 0eccb51 commit c74ad90
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cd.infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
paths:
- infra/**
- .github/workflows/cd.infra.yaml
branches:
- main
#branches:
# - main

env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GCP_CD }}
Expand Down Expand Up @@ -37,6 +37,10 @@ jobs:
with:
version: '>= 363.0.0'

- name: Docker auth for GCP Artifact Registry
run: |-
gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev --quiet
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.4
Expand Down

0 comments on commit c74ad90

Please sign in to comment.