Skip to content

Commit 61ba6a8

Browse files
committed
Use less granular tagging policy
1 parent 7a60979 commit 61ba6a8

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,12 @@ jobs:
8787
flavor: |
8888
latest=false
8989
images: ghcr.io/${{ github.repository }}
90+
# @TODO v1.0 Consider introducing more granular tags (major and major.minor)
91+
# @see https://github.com/php/pie/pull/122#pullrequestreview-2477496308
92+
# @see https://github.com/php/pie/pull/122#discussion_r1867331273
9093
tags: |
9194
type=raw,value=bin
9295
type=semver,pattern={{version}}-bin
93-
type=semver,pattern={{major}}.{{minor}}-bin
94-
type=semver,pattern={{major}}-bin
9596
9697
- name: Build and push Docker image
9798
id: build-and-push

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PIE is published as binary-only Docker image, so you can install it easily durin
3535
COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
3636
```
3737

38-
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.
38+
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.
3939

4040
> [!IMPORTANT]
4141
> 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.

0 commit comments

Comments
 (0)