Skip to content

Commit

Permalink
aaaarghh
Browse files Browse the repository at this point in the history
  • Loading branch information
sr33hari committed Jul 11, 2024
1 parent 4c5d3a6 commit 8026e04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

- name: Setup Google Cloud Credentials
uses: google-github-actions/auth@v2
run: |
gcloud auth configure-docker us-west2-docker.pkg.dev
env:
Expand Down
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ resource "google_artifact_registry_repository" "my_repo" {
resource "null_resource" "build_and_push_image" {
provisioner "local-exec" {
command = <<EOT
gcloud auth configure-docker gcr.io
gcloud auth configure-docker ${var.region}-docker.pkg.dev
docker build -t ${var.region}-docker.pkg.dev/${var.project_id}/${var.repository_id}/circle-app:${var.image_tag} ./
docker push ${var.region}-docker.pkg.dev/${var.project_id}/${var.repository_id}/circle-app:${var.image_tag}
Expand Down

0 comments on commit 8026e04

Please sign in to comment.