jib-core v0.14.0
chanseokoh
released this
21 May 22:44
·
951 commits
to master
since this release
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 tocom.google.cloud.tools.jib.api.buildplan
:AbsoluteUnixPath
,RelativeUnixPath
,Port
,FilePermissions
, andImageFormat
. (#2328) LayerConfiguration
andLayerEntry
are deprecated. UseFileEntriesLayer
andFileEntry
incom.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
, andLayerObject
incom.google.cloud.tools.jib.api.buildplan
as part of the Container Build Plan API. (#2338, #2328)ImageReference#toStringWithTag
has been renamed totoStringWithQualifier
.ImageReference#isValidTag
no longer returnstrue
for digests.ImageReference#isTagDigest
has been removed; use#getDigest
withOptional#isPresent()
to check if anImageReference
uses a digest.ImageReference#withTag
has been removed; usewithQualifier()
instead.ImageReference#isDefaultTag
andusesDefaultTag
no longer returntrue
fornull
or empty tags.- Multiple additions to
ImageReference
to separatetag
anddigest
. (#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 ofwithTag()
)
See CHANGELOG.md for more details.