0Pricing
MLOps Academy · Lesson

Build and Push the Image on Release

Automate container builds when you tag a release.

Build Only on Release

You do not ship an image on every commit. The release step builds and publishes a container only when you mark a version as ready. 📦

Trigger on a Tag

A common pattern fires the build when you push a git tag like v1.2.0, so a deliberate version, not a casual push, starts the deploy.

on:
  push:
    tags: ["v*"]

All lessons in this course

  1. What CI/CD Means for Models
  2. A GitHub Actions Workflow for ML
  3. Gate Merges on Model Quality
  4. Build and Push the Image on Release
← Back to MLOps Academy