From fdf8b9122c1e7f36d1f73c40259566d802dd007b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 13 May 2026 22:59:02 +0300 Subject: [PATCH] Add granular publish tags for "-bin" docker image Implement TODO: - https://github.com/php/pie/blob/5c3fa89c5f63728f60fda04756b4044c01855ff7/.github/workflows/release.yml#L90-L96 See: - https://github.com/php/pie/pull/122#pullrequestreview-2477496308 - https://github.com/php/pie/pull/122#discussion_r1867331273 --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ee73fa7..d09cff89 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,9 +88,8 @@ jobs: packages: write uses: ./.github/workflows/build-and-push-docker-image.yml with: - # @TODO v1.0 Consider introducing more granular tags (major and major.minor) - # @see https://github.com/php/pie/pull/122#pullrequestreview-2477496308 - # @see https://github.com/php/pie/pull/122#discussion_r1867331273 tags: | ${{ ((!contains(github.ref, 'alpha') && !contains(github.ref, 'beta') && !contains(github.ref, 'rc')) && 'type=raw,value=bin') || '' }} type=semver,pattern={{version}},suffix=-bin + type=semver,pattern={{major}}.{{minor}},suffix=bin + type=semver,pattern={{major}},suffix=bin