Skip to content

Commit

Permalink
adding deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
adilshehzad786 committed Apr 6, 2024
1 parent 05dacd1 commit 8806de1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
run: |
docker push us-west3-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/gdgcloudlahore-419421/helloworld:latest
# - name: Deploy
# run: |
# gcloud run deploy helloworld \
# --region us-west3 \
# --image gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld \
# --platform managed \
# --allow-unauthenticated \
# --project ${{ secrets.GCP_PROJECT_ID }}
- name: Deploy
run: |
gcloud run deploy helloworld \
--region us-west3 \
--image us-west3-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/gdgcloudlahore-419421/helloworld:latest \
--platform managed \
--allow-unauthenticated \
--project ${{ secrets.GCP_PROJECT_ID }}

0 comments on commit 8806de1

Please sign in to comment.