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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: drupalforge/docker_publish_action@ff59d7ce25ca36c527aca560742e1b40599b6f5c # v1.1.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
dockerhub_usernameDocker Hub usernameno
dockerhub_tokenDocker Hub tokenno
dp_ai_virtual_keyDevPanel AI Virtual Keyno
composer_authComposer auth JSON for private package access during init stepsno
image_repoDocker Hub image repositoryno
files_to_hashList 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_hashPreviously cached files hash for comparison.no
build_platformTarget platform for the build. Defaults to linux/amd64.no
base_imageBase Docker image to build from. Defaults to devpanel/php:8.3-base-rc.nodevpanel/php:8.3-base-rc
dockerfile_pathPath 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
namedescription
hashFiles hash
skipSkip manifest generation
imageImage pushed for this platform