Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/merge-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,7 @@ jobs:
with:
runs-on: ${{ inputs.runs-on }}
target: builder
image-name: |
${{ inputs.image-name }}/builder
${{ inputs.image-name }}/builder_nodejs
${{ inputs.image-name }}/node
image-name: ${{ inputs.image-name }}/builder
title: ${{ inputs.title-builder }}
description: ${{ inputs.description-builder }}
raw-tag: ${{ inputs.raw-tag }}
15 changes: 7 additions & 8 deletions docs/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,24 @@ job. `specsnl/php84` is the reference.

## What gets published

| Dockerfile target | Image name | Also tagged as |
|-------------------|------------------------|----------------------------------------------------|
| `runtime` | `<image-name>` | — |
| `builder` | `<image-name>/builder` | `<image-name>/builder_nodejs`, `<image-name>/node` |
| Dockerfile target | Image name |
|-------------------|------------------------|
| `runtime` | `<image-name>` |
| `builder` | `<image-name>/builder` |

The runtime stage is the image itself; the builder is a separate, nested package with its own `:latest`. That
is the right shape here — a builder image is a different product from the runtime, not a variant of it. A CLI that
ships several base images does the opposite and uses [tag suffixes on one name](go-cli.md#publishing-variants).

The builder includes Node.js. It used to be split into a `builder` stage without Node.js and a `builder_nodejs` stage
with it, published as `/builder_nodejs` and `/node`. Those names are now tagged from the same manifest as `/builder`,
so projects that still pull them keep working; they are deprecated and will be removed in a later major version.
with it, published as `/builder_nodejs` and `/node`. Those names are no longer published: their last images stay in
the registry but don't receive updates, so pull `/builder` instead.

## Titles and descriptions

`build-php.yml` takes one `title` / `description` pair for both stages. `merge-php.yml` takes them per stage —
`title-runtime`, `title-builder` and their `description-*` counterparts — because that is where the manifest is tagged
and where the labels end up mattering per package. The builder's pair applies to all three of its names.

and where the labels end up mattering per package.
## AppArmor

`disable-apparmor: true` disables AppArmor on the runner before building, for images whose build steps it interferes
Expand Down
3 changes: 1 addition & 2 deletions docs/pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ writing `key=`, so an event without a derived version leaves `org.opencontainers
## Several image names for one manifest

`create-manifest` accepts a multiline `image-name`. The first line is the primary name — the one the digests were
pushed under and the one the inspect step reports — and every line is tagged from the same manifest. `merge-php.yml`
uses this to publish the builder under its old `builder_nodejs` and `node` names as well.
pushed under and the one the inspect step reports — and every line is tagged from the same manifest.

## What dependabot gets

Expand Down