Skip to content

Commit d68c06b

Browse files
leodidoona-agent
andcommitted
fix: bump DockerPackage buildProcessVersion for OCI layout format change
Increment DockerPackage buildProcessVersion from 3 to 4 to invalidate existing package hashes when the cache format changes from docker save to OCI layout. This prevents old/new leeway versions from conflicting over the cache format and ensures clean cache invalidation when upgrading. Co-authored-by: Ona <no-reply@ona.com>
1 parent 942eb06 commit d68c06b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/leeway/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const (
114114
var buildProcessVersions = map[PackageType]int{
115115
YarnPackage: 7,
116116
GoPackage: 2,
117-
DockerPackage: 3,
117+
DockerPackage: 4, // Bumped for OCI layout format change (PR #286)
118118
GenericPackage: 1,
119119
}
120120

0 commit comments

Comments
 (0)