diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd4dac7..2ceac5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,11 +87,12 @@ jobs: flavor: | latest=false images: ghcr.io/${{ github.repository }} + # @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: | type=raw,value=bin type=semver,pattern={{version}}-bin - type=semver,pattern={{major}}.{{minor}}-bin - type=semver,pattern={{major}}-bin - name: Build and push Docker image id: build-and-push diff --git a/docs/usage.md b/docs/usage.md index fa0d4cc..0eac8bc 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -35,7 +35,7 @@ PIE is published as binary-only Docker image, so you can install it easily durin COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie ``` -Instead of `bin` tag (which represents latest binary-only image) you can also use explicit versions like `x.y.z-bin`, `x.y-bin` or `x-bin`, depending on stability level you want to achieve. +Instead of `bin` tag (which represents latest binary-only image) you can also use explicit version (in `x.y.z-bin` format). Use [GitHub registry](https://ghcr.io/php/pie) to find available tags. > [!IMPORTANT] > Binary-only images don't include PHP runtime so you can't use them for _running_ PIE. This is just an alternative way of distributing PHAR file, you still need to satisfy PIE's runtime requirements on your own.