mirror of
https://github.com/ko-build/ko.git
synced 2024-12-12 08:54:09 +02:00
Pull in the config change to ggcr.
This commit is contained in:
parent
116114f1f9
commit
6500b08a99
4
Gopkg.lock
generated
4
Gopkg.lock
generated
@ -142,7 +142,7 @@
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:ea38e7f69c0eac433ce08e27804ab50e9f6b4454cab951ae7cb60d1b5f1e3e92"
|
||||
digest = "1:e6359560ec72d5f3baf4afcd9f46fd3d62b510d3b8aef140f785d9c3d6b8e80a"
|
||||
name = "github.com/google/go-containerregistry"
|
||||
packages = [
|
||||
"pkg/authn",
|
||||
@ -162,7 +162,7 @@
|
||||
"pkg/v1/v1util",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "11836488c0a2f806544892ad2ff3ed07103e0768"
|
||||
revision = "ca8b66cb1b793f7fb0e3c191ad9a37eb3dc80ea0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
4
vendor/github.com/google/go-containerregistry/pkg/v1/mutate/mutate.go
generated
vendored
4
vendor/github.com/google/go-containerregistry/pkg/v1/mutate/mutate.go
generated
vendored
@ -77,6 +77,8 @@ func Config(base v1.Image, cfg v1.Config) (v1.Image, error) {
|
||||
}
|
||||
|
||||
cf.Config = cfg
|
||||
// Downstream tooling expects these to match.
|
||||
cf.ContainerConfig = cfg
|
||||
|
||||
return ConfigFile(base, cf)
|
||||
}
|
||||
@ -468,7 +470,7 @@ func Time(img v1.Image, t time.Time) (v1.Image, error) {
|
||||
|
||||
// Copy basic config over
|
||||
cfg.Config = ocf.Config
|
||||
cfg.ContainerConfig = ocf.ContainerConfig
|
||||
cfg.ContainerConfig = ocf.Config // Downstream tooling expects these to match.
|
||||
|
||||
// Strip away timestamps from the config file
|
||||
cfg.Created = v1.Time{Time: t}
|
||||
|
Loading…
Reference in New Issue
Block a user