title: |md
  # deploy w/ container build  & actions
| {
  shape: text
  near: top-center
}

my laptop -> GitHub.repo: git push

my laptop {
  icon: https://icons.terrastruct.com/tech%2Flaptop.svg
  near: center-left
}

GitHub {
  icon: https://icons.terrastruct.com/social%2F039-github.svg

  runner {
    build job
    deploy job
  }

  repo <- runner.build job: pull
  events api <- runner: long poll

  image registry {
    "estradiol-cloud:latest"
  }

  runner.build job -> "image registry"."estradiol-cloud:latest": push
}

GitHub.runner.deploy job -> "kubernetes": kubectl apply

kubernetes {
  icon: https://icons.terrastruct.com/azure%2F_Companies%2FKubernetes.svg

  nginx pod
}

kubernetes.nginx pod -> GitHub."image registry"."estradiol-cloud:latest": pull
