Skip to content

Commit 8585fd2

Browse files
committed
Use bin instead of latest-bin
1 parent 99e25f8 commit 8585fd2

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,12 @@ jobs:
8686
with:
8787
flavor: |
8888
latest=false
89-
suffix=-bin
9089
images: ghcr.io/${{ github.repository }}
9190
tags: |
92-
type=raw,value=latest
93-
type=semver,pattern={{version}}
94-
type=semver,pattern={{major}}.{{minor}}
95-
type=semver,pattern={{major}}
91+
type=raw,value=bin
92+
type=semver,pattern={{version}}-bin
93+
type=semver,pattern={{major}}.{{minor}}-bin
94+
type=semver,pattern={{major}}-bin
9695
9796
- name: Build and push Docker image
9897
id: build-and-push

docs/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ sudo curl -L --output /usr/local/bin/pie https://github.com/php/pie/releases/lat
3232
PIE is published as binary-only Docker image, so you can install it easily during your Docker build:
3333

3434
```Dockerfile
35-
COPY --from=ghcr.io/php/pie:latest-bin /pie /usr/bin/pie
35+
COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
3636
```
3737

38-
Instead of `latest` 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 versions like `x.y.z-bin`, `x.y-bin` or `x-bin`, depending on stability level you want to achieve.
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)