Closed
Implement docker-release-action with prefixed images and reusable workflows#1
Conversation
…kflows Co-authored-by: l-you <32598874+l-you@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Use template of action from https://github.com/RevoTale/php-composer-testing-action
Use template of docker image builder from https://github.com/RevoTale/infrastructure add ability to create prefixed images and to be reusable.
Implement docker-release-action with prefixed images and reusable workflows
Sep 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a complete GitHub Action for building and pushing multi-platform Docker images, following the template patterns from
php-composer-testing-actionandinfrastructurerepositories as requested in the issue.Key Features Implemented
🐳 Multi-platform Docker Image Building
linux/amd64andlinux/arm64by default with configurable platforms🏷️ Configurable Image Prefixes
myorg-createsmyorg-myapp)ghcr.io/{owner}/{prefix}{image-name}docker.io/{prefix}{image-name}🔄 Reusable Workflows
Implementation Details
The action follows the composite action pattern from
php-composer-testing-action:runs.using: "composite"structureThe Docker build process mirrors the
infrastructurerepository workflows:Usage Examples
Basic Usage
With Custom Prefix
As Reusable Workflow
Files Added
action.yml- Main composite action definition.github/workflows/reusable.yml- Reusable workflow template.github/workflows/major-version.yml- Version management (from php-composer-testing-action).github/workflows/test.yml- Testing workflowexamples/- Complete usage examples for different scenariosDockerfileandtest/Dockerfile- Test infrastructureREADME.mdwith comprehensive documentationThe implementation is fully tested with Docker builds and YAML validation, ensuring it works correctly across different use cases while maintaining the minimal, focused approach requested.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.