Dist-Zilla-Plugin-Docker-API
view release on metacpan or search on metacpan
dist_zilla_docker_api_plugin_plan.md view on Meta::CPAN
### `phase = after_release`
Optional.
Use this only for post-release work, such as:
```text
- write docker-release.json
- print digest summary
- create provenance/SBOM later
- cleanup temp build context
```
---
## Avoiding duplicate builds during `dzil release`
`dzil release` performs a build internally. Therefore a naive `AfterBuild` plugin can accidentally run during both plain build and release build.
The plugin must prevent this.
dist_zilla_docker_api_plugin_plan.md view on Meta::CPAN
- `docker-release.json`
- better progress rendering
- local registry live tests
### v0.004: Advanced build features
- cache_from/cache_to if supported
- platform if safely supported
- target stage
- network mode
- provenance/SBOM hooks if the API path supports them
---
## Minimal skeleton
```perl
package Dist::Zilla::Plugin::Docker::API;
use Moose;
with 'Dist::Zilla::Role::Plugin';
( run in 0.615 second using v1.01-cache-2.11-cpan-9581c071862 )