From 5b313fd26f7868b084ada6feb88cfeceff7099be Mon Sep 17 00:00:00 2001 From: restlessankyyy Date: Tue, 23 Jun 2026 14:04:45 +0200 Subject: [PATCH] ci: always build backend image on v* tags regardless of changed paths --- .github/workflows/backend-image.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-image.yml b/.github/workflows/backend-image.yml index 9b7cab6..e150dbe 100644 --- a/.github/workflows/backend-image.yml +++ b/.github/workflows/backend-image.yml @@ -7,9 +7,10 @@ on: push: branches: [main] tags: ["v*"] - paths: - - "backend/**" - - ".github/workflows/backend-image.yml" + # No paths filter here: GitHub applies push `paths` to tag pushes too, so a + # release tag whose commit only touched infra/ would be skipped and never + # publish its versioned image. Branch pushes are cheap to rebuild (the image + # tag is content-addressed), so we always build on main and on every v* tag. pull_request: paths: - "backend/**"