From eb7d97cc4590303d3175610b2d19dd78f3aa31e5 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 26 Oct 2026 11:24:35 +0000 Subject: [PATCH] container-image.yml: Compute release tags on manual runs for a tag, too Previously, the "Prepare metadata (release tags)" step only ran for published releases. Re-running the workflow via workflow_dispatch on a tag skipped it, so the image lacked the latest and major version tags. --- .github/workflows/container-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index e7e2534..a6686eb 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -81,7 +81,7 @@ jobs: # whether the current release tag is the greatest overall and/or # within its major version. - name: Prepare metadata (release tags) - if: github.event_name == 'release' && github.event.action == 'published' + if: (github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'workflow_dispatch' && github.ref_type == 'tag') run: | # Retrieve the greatest existing tag in the repository by sorting tags in descending order. # Options used: