NAME

Dist::Zilla::PluginBundle::Author::GETTY::Docker - Docker image subsection for @Author::GETTY

VERSION

version 0.315

SYNOPSIS

[@Author::GETTY]
docker_image = registry/app
docker_tags  = latest %v

[@Author::GETTY::Docker / runtime-root]
target = runtime-root

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

DESCRIPTION

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

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

ATTRIBUTES

image

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

target

Optional multi-stage Dockerfile target.

tags

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

local

If true, sets 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 docker_local when omitted.

network_mode

Optional Docker --network mode for the build.

dockerfile

Path to the Dockerfile. Passed through to Docker::API unchanged.

context

Build context path. Passed through to Docker::API unchanged.

build_arg

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

label

Image label. Multi-value.

platform

Target platform (--platform). Multi-value.

release_load, build_verbose, pull, no_cache, rm, force_rm, fail_if_tag_exists, skip_latest_on_trial

Passed through directly to Dist::Zilla::Plugin::Docker::API.

SUPPORT

Issues

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

CONTRIBUTING

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

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012-2026 by Torsten Raudssus <torsten@raudssus.de> 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.