Manual workflow

# build Docker image
docker build -t darrenbarklie-blog

# run Docker image locally
docker run -p 2020:2020 -e PORT=2020 darrenbarklie-blog

# pushs image to GCR
gcloud builds submit --tag gcr.io/craft-applied/darrenbarklie-blog

# deploys container to Google Run
gcloud run deploy darrenbarklie-blog --image gcr.io/craft-applied/darrenbarklie-blog

Auto deployment from git push

steps:
  # build the container image
  - name: "gcr.io/cloud-builders/docker"
    args: ["build", "-t", "gcr.io/craft-applied/darrenbarklie-blog", "."]
    # push the container image to Container Registry
  - name: "gcr.io/cloud-builders/docker"
    args: ["push", "gcr.io/craft-applied/darrenbarklie-blog"]
    # Deploy container image to Cloud Run
  - name: "gcr.io/cloud-builders/gcloud"
    args:
      [
        "beta",
        "run",
        "deploy",
        "darrenbarklie-blog",
        "--image",
        "gcr.io/craft-applied/darrenbarklie-blog",
        "--region",
        "europe-west1",
        "--platform",
        "managed",
        "--quiet",
      ]
images:
  - gcr.io/craft-applied/darrenbarklie-blog

Run a Static Site On Google Cloud Run : maurycek

https://medium.com/google-cloud/how-to-run-a-static-site-on-google-cloud-run-345713ca4b40

Building Containers : Google Cloud / Cloud Run Documentation

https://cloud.google.com/run/docs/building/containers