From 34f3d2c24a56ad570ed3cce29d135275662d0748 Mon Sep 17 00:00:00 2001 From: Tristan Escalada <355457+tescalada@users.noreply.github.com> Date: Thu, 24 Sep 2026 16:05:35 -0400 Subject: [PATCH] Run CI on pushes to main and publish latest from them CI now also runs on pushes to main. The tag-generating metadata step sets flavor latest=false and adds type=raw,value=latest,enable={{is_default_branch}}, so latest follows main and a release tag never moves it. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cd64e0..08df71f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: CI on: push: + branches: ["main"] tags: ["**"] pull_request: @@ -176,7 +177,9 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ steps.image.outputs.ref }} + flavor: latest=false tags: | + type=raw,value=latest,enable={{is_default_branch}} type=ref,event=branch type=ref,event=pr type=semver,pattern=v{{version}}