Skip to content

Commit

Permalink
t3
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzyy committed Oct 26, 2024
1 parent ad13e49 commit 47aacc8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/GCP_Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,25 @@ jobs:
- name: Authenticate Docker with GAR
run: gcloud auth configure-docker us-east1-docker.pkg.dev --quiet

# Step 6: Build backend Docker image
# Step 6: Build backend Docker image
- name: Build backend Docker image
run: |
cd backend
docker build -t us-east1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/devopsgeni/backend:latest \
--build-arg gemini_key=${{ secrets.gemini_key }} \
--build-arg PERSONAL_ACCESS_TOKEN_GITHUB=${{ secrets.PERSONAL_ACCESS_TOKEN_GITHUB }} \
--build-arg ENVIRONMENT=${{ secrets.ENVIRONMENT }} \
--build-arg FRONTEND_URL=${{ secrets.FRONTEND_URL }}.
--build-arg FRONTEND_URL=${{ secrets.FRONTEND_URL }} .
# Step 7: Build frontend Docker image (navigate back to root first)
- name: Build frontend Docker image
run: |
cd frontend
docker build -t us-east1-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/devopsgeni/frontend:latest \
--build-arg gemini_key=${{secrets.gemini_key }} \
--build-arg gemini_key=${{ secrets.gemini_key }} \
--build-arg PERSONAL_ACCESS_TOKEN_GITHUB=${{ secrets.PERSONAL_ACCESS_TOKEN_GITHUB }} \
--build-arg REACT_APP_BASE_URL=${{secrets.REACT_APP_BASE_URL }} .
--build-arg REACT_APP_BASE_URL=${{ secrets.REACT_APP_BASE_URL }} .
# Step 8: Push backend Docker image to GAR
- name: Push backend Docker image to GAR
Expand Down

0 comments on commit 47aacc8

Please sign in to comment.