Dist-Zilla-PluginBundle-Author-GETTY

 view release on metacpan or  search on metacpan

lib/Dist/Zilla/PluginBundle/Author/GETTY/Docker.pm  view on Meta::CPAN

  target = runtime-root

  [@Author::GETTY::Docker / runtime-user]
  target = runtime-user
  tags   = user
  local  = 1

=head1 DESCRIPTION

A subsection bundle of L<@Author::GETTY|Dist::Zilla::PluginBundle::Author::GETTY>
that creates a single L<Dist::Zilla::Plugin::Docker::API> plugin per occurrence.

Each subsection inherits C<image>, C<tags>, and C<local> from the parent
C<@Author::GETTY> bundle (via C<docker_image>, C<docker_tags>, C<docker_local>)
unless explicitly overridden.

=head1 ATTRIBUTES

=head2 image

Docker image repository. Inherited from the parent bundle's C<docker_image>
when omitted. Fatal if neither is set.

=head2 target

Optional multi-stage Dockerfile target.

=head2 tags

Whitespace-separated list of tags to apply to both build and release. Inherited
from the parent's C<docker_tags> when omitted. Defaults to C<latest %V %v>
(e.g. C<latest>, C<0>, C<0.402> for version C<0.402>). Setting C<tags>
explicitly B<replaces> the default list; it does not append.

=head2 local

If true, sets C<release_push = 0> on the Docker::API plugin so the image is
built and tagged locally but not pushed to the registry. Inherited from the
parent's C<docker_local> when omitted.

=head2 network_mode

Optional Docker C<--network> mode for the build.

=head2 dockerfile

Path to the Dockerfile. Passed through to C<Docker::API> unchanged.

=head2 build_arg

Build-time argument (C<--build-arg>). Multi-value — repeat the key to set
multiple arguments.

=head2 label

Image label. Multi-value.

=head2 platform

Target platform (C<--platform>), exactly one. A second value is refused by
C<Docker::API>: its build endpoint takes one platform.

=head2 build_verbose, pull, no_cache, rm, force_rm, fail_if_tag_exists, skip_latest_on_trial

Passed through directly to L<Dist::Zilla::Plugin::Docker::API>.

=head1 SUPPORT

=head2 Issues

Please report bugs and feature requests at
L<https://github.com/Getty/p5-dist-zilla-pluginbundle-author-getty/issues>.

=head1 CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

=head1 AUTHOR

Torsten Raudssus <getty@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2012-2026 by Torsten Raudssus <torsten@raudssus.de> L<https://raudssus.de/>.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut



( run in 0.939 second using v1.01-cache-2.11-cpan-eb134014566 )