mirror of
https://github.com/php/pie.git
synced 2026-03-24 07:22:17 +01:00
Use less granular tagging policy
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user