CI: build on every push, so release tags build

The push trigger's paths filter also applied to tag pushes, which change no
files: the v0.4.0 tag started no run and ghcr.io/yundera/ipcr-forge:0.4.0 was
never published (a fresh install failed pulling it).
This commit is contained in:
Worph
2026-10-05 15:11:11 +00:00
parent 13ef14391e
commit 76f42dcfa4
+2 -1
View File
@@ -2,11 +2,12 @@ name: image
# IPCR Forge's service image (forge/): Gitea → Radicle mirror, the forge's page and admin, the
# staging gate. ghcr.io/yundera/ipcr-forge; a `vX.Y.Z` tag publishes X.Y.Z.
# No `paths` filter on push: a tag push changes no files, so with one GitHub never starts the run
# and the release image is never built (v0.4.0's first push).
on:
push:
branches: [main]
tags: ["v*"]
paths: ["forge/**", ".github/workflows/image.yml"]
pull_request:
paths: ["forge/**", ".github/workflows/image.yml"]
workflow_dispatch: