Push

This goal uploads images to the registry which have a <build> configuration section. The default registry where images are pushed to is docker.io, but can be specified as part of the images’s name the Docker way. E.g. containers.host.com:12345/sample:1.2 will push the image data with tag 1.2 to the registry containers.host.com at port 12345. Security information (i.e. user and password) can be specified as described in section Authentication.

It is required to have the build goal executed in order to execute the push goal without manual intervention.
Table 1. Push options
Element Description Property

skipPush

If set to true the plugin won’t push any images that have been built.

Default value is: false

podman.skip.push

deleteLocalImageAfterPush

When set to true, the locally created image will be deleted after it has been pushed to the registry.

Default value is: false

podman.image.delete.after.push

retries

The number of times pushing the image should be retried before giving up.

Default value is: 0

podman.push.retries

When using the deleteLocalImageAfterPush option, be advised that any base images that may have been pulled as part of building the image continue to exist.