Skip to content

Latest commit

 

History

History
137 lines (104 loc) · 7.02 KB

CHANGELOG.md

File metadata and controls

137 lines (104 loc) · 7.02 KB

Changelog

1.8.0 (12-10-2021)

Bugs

  • (#49) - Using properties in the FROM now succeeds for multistage builds.
  • (#51) - Building projects with packaging=pom now succeed because e.g. the target directory will succesfully be created.

1.7.1 (16-08-2021)

Bugs

  • (#47) - Label values are now always put between double quotes.

1.7.0 (25-07-2021)

Bugs

  • (#42) - Podman pull and pullAlways options cannot be enabled simultaneously.
  • (#44) - Images are now by default saved to the target directory of the Maven module where Podman is configued.
  • (#41) - Implemented a warning marker when there is no image name configured for a particular stage.

Improvements

  • (#44) - SaveMojo: The location where images are saved on disk can now be configured. Also, the push registry is no longer part of the file name.

1.6.0 (25-03-2021)

Bugs

  • (#32 - When tagging an image, the plugin might skip one or more steps due to unexpected multiline output for a build step)

Improvements

  • (#35) Introduced option to configure a batch of images to build, tag and push
  • (#38 The plugin now checks ~/.docker/config.json for credentials.
  • (#36) Implemented a retry mechanism for Podman push

Other

  • This plugin now requires Java 8 rather than Java 9.
  • Documentation has now moved towards Github Pages.

1.5.0 (09-02-2021)

Bugs

  • (#28) Changed algorithm for image hash detection when using multistage containerfiles to use lookahead instead of look back.

Improvements

  • (#30) Introduced pullAlways option in build configuration whether an image should always be pulled. More information.

1.4.0 (25-11-2020)

Improvements

1.3.0 (18-11-2020)

Improvements

  • When debug is enabled, Podman version information will now be printed.

Bugs

  • Passwords that contained special characters were not always properly obfuscated

1.2.2 (28-10-2020)

Bugs

  • Set the default run directory to the root of the current module instead of the root of the Maven project.

1.2.1 (28-10-2020)

Bugs

  • Allow configuration of the directory where the Podman command is executed. This defaulted to the target directory, which is not always convenient.

1.2.0 (28-10-2020)

Improvements

  • Introduced a flag called failOnMissingContainerFile that prevents that the plugin fail throw an exception in case no Containerfile is present in a Maven module. This may be useful for projects that use this plugin as part of a profile where a Containerfile is not always in the same location

1.1.0 (16-10-2020)

Bugs

  • Fixed an issue that required the CleanMojo to have a valid ImageConfiguration. This is not necessary since only the custom root storage location needs to be configured for this Mojo to work.

1.0.0 (20-10-2020)

Improvements

  • Renamed Docker to Container to be in line with Podman's naming conventions. This is a breaking change, please update your configuration.
  • Added basic support for multistage Containerfiles. Please refer to documentation for the exact configuration.

0.9.0 (22-09-2020)

Improvements

  • Added configuration of the --runroot setting, which is used by Podman to store its state information.

0.8.0 (xx-09-2020)

Improvements

  • Added clean phase that allows cleaning up the local storage. This only works when the root storage location is configured in the pom file to prevent accidentally deleting unrelated files.

0.7.0 (26-06-2020)

Bugs

  • Fixed a NullPointerException that occurred when no image configuration was present in the pom. A normal exception with more information is now raised instead.

Improvements

  • Added possibility to build container images with docker manifest and configuration data (podman build --format=<oci/docker> equivalent).

0.6.1 (05-06-2020)

Bugs

  • Fixed a NullPointerException that could occur when no <podman/> configuration was specified.

0.6.0 (04-06-2020)

Improvements

  • Added option to set a custom root directory when running Podman (equivalent of running podman --root=/some/custom/directory)

0.5.0 (29-05-2020)

Bugs

  • Labels were not always added on a new line
  • Labels after an ENTRYPOINT command were sometimes ignored. Labels are now put on the line after the base image declaration (FROM command)

Improvements

  • Documentation no longer states that this plugin is not in Maven Central.

0.4.0 (28-05-2020)

Bugs

  • Podman used the wrong base dir for building container images
  • When TLS Verify is not set, this sometimes caused an '... takes only 1 argument' error, due to an empty subcommand being passed.

Improvements

  • Changed the log line that says 'Initializing image configurations.' to debug.
  • Explicitly set dockerFileDir to value of ${project.baseDir} rather then new File(".")

0.3.0 (27-05-2020)

Bugs

  • AuthenticationService now checks the default credential file based on the XDG_RUNTIME_DIR environment variable
  • When TLS Verify is not set, it will no longer be used when running Podman commands.
  • When Podman login failed, the password of the user was printed in the error message

Improvements

  • Moved authentication to the different Mojo's, such that skipBuild, skipPush, skipSave can be configured separately.

0.2.1 (26-05-2020)

Security

  • Removed accidental publication of passphrase. Tag 0.2.0 has therefore been removed from Github.

0.2.0 (26-05-2020)

Improvements

  • Refactored the iamge build configuration for more flexibility

New features

  • Added noCache support when buildig images
  • Added support for labels. Labels are metadata and will be appended to the source Dockerfile before running a build

NOTE: This release is not compatible with 0.1.0. Due to the early stages of development you must reconfigure your plugin in the pom.xml

0.1.0 (24-05-2020)

Initial implementation released