Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Update README.md

Update README.md #26

# Tech Debt: Create separate GCP dev/prod deploys with auth
name: Deploy IMDS Parser to Google Cloud Run
on:
push:
branches:
- dev
- prod
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- id: "auth"
uses: "google-github-actions/auth@v1"
with:
credentials_json: "${{ secrets.GCP_IMDS_PARSER_SA_KEY }}"
- name: Set up Cloud SDK
uses: "google-github-actions/setup-gcloud@v1"
- name: Deploy to Cloud Run
working-directory: cloud/imds_parser
run: |
gcloud run deploy imdsparser --region us-central1 --source .