Workshop 2 homework recap
- Did everyone get the Docker reusable workflow working in
web
and api
? - You’ll need those images built for next week
- I threw in a few minor issues like…
- Finding the right
uses:
path for the reusable workflow - .yaml vs .yml in file paths
secrets:
and with:
were empty arrays and invalid YAML. Comment them out
- If you don’t see a workflow run in PR like you expect, check the Actions tab
- If it’s done correctly,
github.com/orgs/<org-name>/packages
shows two images - Both repositories should have an image with tags similar to
stable-20230714-b3cc954
- Check HardlyDevOps for a working example
🧑💻 Prep for next week
- Next week we’re shifting to Argo CD on Kubernetes
- You need a Kubernetes cluster for Argo CD. I’ll be using Docker Desktop
- Any K8s is fine, even k3d (Kubernetes in Docker), minikube, or kind
- Let me know if you need help with setup or a K8s cluster to use (single node)
- Wednesday’s reusable Docker builds homework is REQUIRED for next week
- (we need those
latest
and stable-<date>-<sha>
images to deploy)
- You’ll get a video on GitOps and Argo CD before Monday to prep the basics