drupalforge/Drupal Forge build platform image
Builds and pushes a platform image tagged by branch name to a container registry for a Drupal Forge template.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 8, 2026
- License
- None
Pinned Snippet
uses: drupalforge/docker_publish_action@ff59d7ce25ca36c527aca560742e1b40599b6f5c # v1.1.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| dockerhub_username | Docker Hub username | no | — |
| dockerhub_token | Docker Hub token | no | — |
| dp_ai_virtual_key | DevPanel AI Virtual Key | no | — |
| composer_auth | Composer auth JSON for private package access during init steps | no | — |
| image_repo | Docker Hub image repository | no | — |
| files_to_hash | List of files to check for changes (space or newline separated). Relative paths are assumed to be in app root. Defaults to composer.lock if not provided. | no | — |
| cached_hash | Previously cached files hash for comparison. | no | — |
| build_platform | Target platform for the build. Defaults to linux/amd64. | no | — |
| base_image | Base Docker image to build from. Defaults to devpanel/php:8.3-base-rc. | no | devpanel/php:8.3-base-rc |
| dockerfile_path | Path to a Dockerfile (relative to app root) whose instructions are appended to the base Dockerfile. Multi-stage builds with additional FROM stages are supported. The file must not include a "# syntax=" directive (which must appear on line 1 of a Dockerfile). Defaults to .devpanel/Dockerfile if it exists. | no | — |
Outputs
| name | description |
|---|---|
| hash | Files hash |
| skip | Skip manifest generation |
| image | Image pushed for this platform |