estradiol.cloud/.d2/hugo-container-build.d2

42 lines
769 B
Plaintext
Raw Normal View History

2024-03-04 22:59:15 +00:00
title: |md
# deploy w/ container build & actions
| {
shape: text
near: top-center
}
2024-03-09 09:42:20 +00:00
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