Skip to content

Releases: GoogleContainerTools/jib

jib-gradle-plugin v2.5.0

07 Aug 19:59
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Incubating feature: can now configure desired platform (architecture and OS) to select the matching manifest from a Docker manifest list. Currently supports building only one image. OCI image indices are not supported. (#1567)
    jib.from {
      image = '... image reference to a manifest list ...'
      platforms {
        platform {
          architecture = 'arm64'
          os = 'linux'
        }
      }
    }
  • Now supports sending client certificate (for example, via the javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword system properties) and thus enabling mutual TLS authentication. (#2585, #2226)
  • Fixed reporting a wrong credential helper name when the helper does not exist on Windows. (#2527)
  • Also tries .exe file extension for credential helpers on Windows. (#2527)
  • Fixed NullPointerException when the "auths": section in ~/.docker/config.json has an entry with no "auth": field. (#2535)
  • New system property jib.skipExistingImages (false by default) to skip pushing images (manifests) if the image already exists in the registry. (#2360)
  • Fixed an issue where Jib cannot infer Kotlin main class that takes no arguments. (#2666)

See CHANGELOG.md for more details.

jib-core v0.15.0

12 Jun 18:16
Compare
Choose a tag to compare

jib-core

Major Changes

  • Now adding the Jib Core dependency transitively exposes the Build Plan API. (#2507)
  • Ports.parse(List<String> ports) now returns a Set(as a HashSet) instead of ImmutableSet (#2513)
  • Now sets configured file ownership when creating layer tars. (#2499)
  • Previous locally cached application layers will be ignored because of changes to the caching selectors. (#2499)
  • Fixed authentication failure with Azure Container Registry when using an identity token defined in the auths section of Docker config (~/.docker/config.json). (#2488)

See CHANGELOG.md for more details.

jib-maven-plugin v2.4.0

10 Jun 15:33
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Jib Extension Framework support. This enables anyone to easily extend and tailor the Jib Maven plugin behavior to their liking. Check out the new Jib Extensions GitHub repository to learn more. (#2401)
  • Project dependencies in a multi-module WAR project are now stored in a separate "project dependencies" layer. (#2450)
  • Azure Container Registry can use an identity token defined in the auths section of Docker config (~/.docker/config.json). (#2488)

See CHANGELOG.md for more details.

jib-gradle-plugin v2.4.0

10 Jun 15:35
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Jib Extension Framework support. This enables anyone to easily extend and tailor the Jib Gradle plugin behavior to their liking. Check out the new Jib Extensions GitHub repository to learn more. (#2401)
  • Project dependencies in a multi-module WAR project are now stored in a separate "project dependencies" layer. (#2450)
  • Azure Container Registry can use an identity token defined in the auths section of Docker config (~/.docker/config.json). (#2488)

See CHANGELOG.md for more details.

jib-maven-plugin v2.3.0

21 May 22:38
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • <from> and <into> fields to <extraDirectories><paths><path> for configuring the source and target of an extra directory. (#1581)
  • Fixed the problem not inheriting USER container configuration from a base image. (#2421)
  • Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
  • Fixed an issue inferring a wrong main class or using an invalid main class (for example, Spring Boot project containing multiple main classes). (#2456)
  • Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)

See CHANGELOG.md for more details.

jib-gradle-plugin v2.3.0

21 May 22:40
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • jib.extraDirectories.paths closure to allow configuring the source and target of an extra directory. (#1581)
  • Fixed the problem not inheriting USER container configuration from a base image. (#2421)
  • Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
  • Fixed an issue inferring a wrong main class or using an invalid main class (for example, Spring Boot project containing multiple main classes). (#2456)
  • Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)

See CHANGELOG.md for more details.

jib-core v0.14.0

21 May 22:44
Compare
Choose a tag to compare

jib-core

Major Changes

  • Fixed the problem not inheriting USER container configuration from a base image. (#2421)
  • Fixed an issue when using a base image whose image creation timestamp contains timezone offset. (#2428)
  • Fixed wrong capitalization of JSON properties in a loadable Docker manifest when building a tar image. (#2430)
  • The following classes in com.google.cloud.tools.jib.api has been moved to com.google.cloud.tools.jib.api.buildplan: AbsoluteUnixPath, RelativeUnixPath, Port, FilePermissions, and ImageFormat. (#2328)
  • LayerConfiguration and LayerEntry are deprecated. Use FileEntriesLayer and FileEntry in com.google.cloud.tools.jib.api.buildplan. (#2334)
  • New public API package hierarchy com.google.cloud.tools.jib.api.buildplan for Container Build Plan Specification and API.
  • ContainerBuildPlan, FileEntriesLayer, FileEntry, and LayerObject in com.google.cloud.tools.jib.api.buildplan as part of the Container Build Plan API. (#2338, #2328)
  • ImageReference#toStringWithTag has been renamed to toStringWithQualifier.
  • ImageReference#isValidTag no longer returns true for digests.
  • ImageReference#isTagDigest has been removed; use #getDigest with Optional#isPresent() to check if an ImageReference uses a digest.
  • ImageReference#withTag has been removed; use withQualifier() instead.
  • ImageReference#isDefaultTag and usesDefaultTag no longer return true for null or empty tags.
  • Multiple additions to ImageReference to separate tag and digest. (#1481)
    • of(registry, repository, tag, digest) to create an image from a tag and digest.
    • isValidDigest(digest) to check if a string is a valid digest.
    • getDigest() to get the digest.
    • parse() now supports image reference strings containing both a tag and a digest.
    • getQualifier() to return the digest, or the tag if no digest is set.
    • withQualifier() to change the image's tag or digest (old behavior of withTag())

See CHANGELOG.md for more details.

jib-maven-plugin v2.2.0

20 Apr 18:26
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Glob pattern support for <extraDirectories><permissions>.
  • Support for image references with both a tag and a digest.
  • The DOCKER_CONFIG environment variable specifying the directory containing docker configs is now checked during credential retrieval.
  • <container><creationTime> now accepts more timezone formats:+HHmm. This allows for easier configuration of creationTime by external systems.

See CHANGELOG.md for more details.

jib-gradle-plugin v2.2.0

20 Apr 18:26
Compare
Choose a tag to compare

jib-gradle-plugin

Major Changes

  • Glob pattern support for jib.extraDirectories.permissions.
  • Support for image references with both a tag and a digest.
  • The DOCKER_CONFIG environment variable specifying the directory containing docker configs is now checked during credential retrieval.
  • jib.container.creationTime now accepts more timezone formats:+HHmm. This allows for easier configuration of creationTime by external systems.

See CHANGELOG.md for more details.

jib-maven-plugin v2.1.0

25 Feb 21:59
Compare
Choose a tag to compare

jib-maven-plugin

Major Changes

  • Additionally reads credentials from ~/.docker/.dockerconfigjson and legacy Docker config (~/.docker/.dockercfg). Also searches for $HOME/.docker/* (in addition to current System.get("user.home")/.docker/*). This may help retrieve credentials, for example, on Kubernetes.
  • New skaffold configuration options that modify how jib's build config is presented to skaffold. See changelog for more details.
  • Fixed a skaffold init issue with projects containing submodules specifying different parent poms.
  • Fixed authentication failure with error server did not return 'WWW-Authenticate: Bearer' header in certain cases (for example, on OpenShift).
  • Fixed an issue where using local Docker images (by docker://...) on Windows caused an error.

See CHANGELOG.md for more details.