Skip to content

Deployment Workflow

Cecilia Wong edited this page Apr 6, 2024 · 8 revisions
Workflow: Update Docker image and deploy to Render

GitHub workflow

Name: Docker CI/CD
Configuration file: main.yml

Upon a push request to master, builds a Docker image and update the master tag image at Docker Hub with it.

  1. Checkout the source to a temporary work folder for GitHub workflows.
  2. Run all tests.
  3. Build a Docker image.
  4. Push the image to Docker Hub using the master tag.

Docker Hub webhook

Name: python-webservice-demo: deploy master image

When an image is pushed to Docker Hub with the master tag, a deployment to Render is triggered using the web service's Deploy Hook.
Therefore, this webhook is triggered as a result of the aforementioned GitHub workflow.

Clone this wiki locally