Skip to content

Add GitHub Actions workflow that builds the images - #1

Merged
narel merged 1 commit into
mainfrom
claude/project-thread-06mqxn
Oct 27, 2026
Merged

narel merged 1 commit into
mainfrom
claude/project-thread-06mqxn

Conversation

@narel

@narel narel commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Requested by Karol · project thread

Summary

  • New .github/workflows/build.yml: builds each PHP version in its own parallel job (fail-fast: false), with a php -v smoke test.
  • PHP 5.2 – 5.5 use the oldbuilder (BuildKit v0.12.5, linux/amd64), as described in the README.
  • Runs on pushes to main and on PRs that touch the Dockerfiles, build.sh, common/, pecl/ or php5.3/ (build only, no push).
  • Manual run (Actions → Build images → Run workflow): pick versions, push to a registry, build without cache.
  • Registry is configured through repo variables REGISTRY, REGISTRY_HOST and secrets REGISTRY_USERNAME, REGISTRY_PASSWORD (empty host = Docker Hub).
  • build.sh --list prints the versions, so the workflow reads them from one place.
  • README: new "GitHub Actions" section.

Test plan

  • ./build.sh --list checked locally; workflow YAML validated.
  • Full image builds could not run in the dev sandbox (network policy), so this PR's own CI run is the first real build.

Generated by Claude Code

Builds each PHP version in its own job, uses the old BuildKit for 5.2-5.5,
and pushes to Docker Hub on manual runs. build.sh gets --list so the
workflow reads the versions from one place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NxBArk6ZTH6vAmDaok99S
@narel narel self-assigned this Oct 27, 2026
@narel
narel merged commit 8b3cbf7 into main Oct 27, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants