Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 777233f

Browse files
committed
fix(executor): make pax tar builds reproducible again
In v1.8.0 (commit 7410007) kaniko switched to using the pax tar header format for compressing image layers, since this format allows for greater precision in recording timestamps, however this inadvertendly broke the "--reproducible" functionality, due to an bug in the underlying go-containerregistry dependency which did not set the additional timestamps in the pax header when canonicalizing image layers. This oversight has since been fixed in the dependency. This commit bumps the google/go-containerregistry dependency to the first commit which has fixed the bug (v0.13.1-0.20230201183932-824efc7772b0). It also bumps the version of cloud.google.com/go/storage to v1.29.0 to be compatible with the higher transitive dependency.
1 parent 14ea7c4 commit 777233f

873 files changed

Lines changed: 78880 additions & 29102 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

go.mod

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,48 @@ replace (
1111
)
1212

1313
require (
14-
cloud.google.com/go/storage v1.22.0
14+
cloud.google.com/go/storage v1.29.0
1515
github.com/Azure/azure-storage-blob-go v0.14.0
1616
github.com/aws/aws-sdk-go v1.44.24
1717
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795
1818
github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21
1919
github.com/containerd/cgroups v1.0.3 // indirect
20-
github.com/docker/docker v20.10.14+incompatible
20+
github.com/docker/docker v20.10.20+incompatible
2121
github.com/go-git/go-billy/v5 v5.3.1
2222
github.com/go-git/go-git/v5 v5.4.2
2323
github.com/godbus/dbus/v5 v5.0.6 // indirect
2424
github.com/golang/mock v1.6.0
25-
github.com/google/go-cmp v0.5.7
26-
github.com/google/go-containerregistry v0.8.1-0.20220507185902-82405e5dfa82
25+
github.com/google/go-cmp v0.5.9
26+
github.com/google/go-containerregistry v0.13.1-0.20230201183932-824efc7772b0
2727
github.com/google/go-github v17.0.0+incompatible
2828
github.com/google/slowjam v1.0.0
2929
github.com/karrick/godirwalk v1.16.1
3030
github.com/minio/highwayhash v1.0.2
3131
github.com/moby/buildkit v0.9.3
3232
github.com/otiai10/copy v1.7.0
3333
github.com/pkg/errors v0.9.1
34-
github.com/sirupsen/logrus v1.8.1
34+
github.com/sirupsen/logrus v1.9.0
3535
github.com/spf13/afero v1.8.2
36-
github.com/spf13/cobra v1.4.0
36+
github.com/spf13/cobra v1.6.0
3737
github.com/spf13/pflag v1.0.5
38-
golang.org/x/net v0.0.0-20220325170049-de3da57026de
39-
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a
40-
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
38+
golang.org/x/net v0.1.0
39+
golang.org/x/oauth2 v0.1.0
40+
golang.org/x/sync v0.1.0
4141
)
4242

4343
require github.com/containerd/containerd v1.6.2
4444

4545
require (
46-
cloud.google.com/go v0.100.2 // indirect
47-
cloud.google.com/go/compute v1.5.0 // indirect
48-
cloud.google.com/go/iam v0.3.0 // indirect
46+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
47+
github.com/googleapis/enterprise-certificate-proxy v0.2.1 // indirect
48+
golang.org/x/mod v0.6.0 // indirect
49+
golang.org/x/tools v0.1.12 // indirect
50+
)
51+
52+
require (
53+
cloud.google.com/go v0.107.0 // indirect
54+
cloud.google.com/go/compute v1.14.0 // indirect
55+
cloud.google.com/go/iam v0.8.0 // indirect
4956
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
5057
github.com/Azure/azure-sdk-for-go v61.3.0+incompatible // indirect
5158
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
@@ -57,7 +64,7 @@ require (
5764
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
5865
github.com/Azure/go-autorest/logger v0.2.1 // indirect
5966
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
60-
github.com/Microsoft/go-winio v0.5.2 // indirect
67+
github.com/Microsoft/go-winio v0.6.0 // indirect
6168
github.com/Microsoft/hcsshim v0.9.2 // indirect
6269
github.com/ProtonMail/go-crypto v0.0.0-20220113124808-70ae35bab23f // indirect
6370
github.com/acomagu/bufpipe v1.0.3 // indirect
@@ -79,19 +86,19 @@ require (
7986
github.com/cilium/ebpf v0.8.0 // indirect
8087
github.com/containerd/continuity v0.2.2 // indirect
8188
github.com/containerd/fifo v1.0.0 // indirect
82-
github.com/containerd/stargz-snapshotter/estargz v0.11.1 // indirect
89+
github.com/containerd/stargz-snapshotter/estargz v0.12.1 // indirect
8390
github.com/containerd/typeurl v1.0.2 // indirect
8491
github.com/coreos/etcd v3.3.27+incompatible // indirect
8592
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
8693
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
8794
github.com/dimchansky/utfbom v1.1.1 // indirect
88-
github.com/docker/cli v20.10.12+incompatible // indirect
89-
github.com/docker/distribution v2.8.0+incompatible // indirect
90-
github.com/docker/docker-credential-helpers v0.6.4 // indirect
95+
github.com/docker/cli v20.10.20+incompatible // indirect
96+
github.com/docker/distribution v2.8.1+incompatible // indirect
97+
github.com/docker/docker-credential-helpers v0.7.0 // indirect
9198
github.com/docker/go-connections v0.4.0 // indirect
9299
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
93100
github.com/docker/go-metrics v0.0.1 // indirect
94-
github.com/docker/go-units v0.4.0 // indirect
101+
github.com/docker/go-units v0.5.0 // indirect
95102
github.com/docker/swarmkit v1.12.1-0.20180726190244-7567d47988d8 // indirect
96103
github.com/ePirat/docker-credential-gitlabci v1.0.0
97104
github.com/emirpasic/gods v1.12.0 // indirect
@@ -103,17 +110,16 @@ require (
103110
github.com/golang/protobuf v1.5.2 // indirect
104111
github.com/google/go-querystring v1.1.0 // indirect
105112
github.com/google/uuid v1.3.0 // indirect
106-
github.com/googleapis/gax-go/v2 v2.2.0 // indirect
107-
github.com/googleapis/go-type-adapters v1.0.0 // indirect
113+
github.com/googleapis/gax-go/v2 v2.7.0 // indirect
108114
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
109115
github.com/hashicorp/go-memdb v1.3.2 // indirect
110116
github.com/hashicorp/golang-lru v0.5.4 // indirect
111117
github.com/imdario/mergo v0.3.12 // indirect
112-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
118+
github.com/inconshreveable/mousetrap v1.0.1 // indirect
113119
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
114120
github.com/jmespath/go-jmespath v0.4.0 // indirect
115121
github.com/kevinburke/ssh_config v1.1.0 // indirect
116-
github.com/klauspost/compress v1.14.4 // indirect
122+
github.com/klauspost/compress v1.15.11 // indirect
117123
github.com/mattn/go-ieproxy v0.0.2 // indirect
118124
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
119125
github.com/mitchellh/go-homedir v1.1.0 // indirect
@@ -124,7 +130,7 @@ require (
124130
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
125131
github.com/morikuni/aec v1.0.0 // indirect
126132
github.com/opencontainers/go-digest v1.0.0 // indirect
127-
github.com/opencontainers/image-spec v1.0.3-0.20220114050600-8b9d41f48198 // indirect
133+
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
128134
github.com/opencontainers/runc v1.1.0 // indirect
129135
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect
130136
github.com/opencontainers/selinux v1.10.0 // indirect
@@ -137,16 +143,16 @@ require (
137143
github.com/tonistiigi/fsutil v0.0.0-20220115021204-b19f7f9cb274 // indirect
138144
github.com/vbatts/tar-split v0.11.2 // indirect
139145
github.com/xanzy/ssh-agent v0.3.1 // indirect
140-
go.opencensus.io v0.23.0 // indirect
141-
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce // indirect
142-
golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886
143-
golang.org/x/text v0.3.7 // indirect
146+
go.opencensus.io v0.24.0 // indirect
147+
golang.org/x/crypto v0.1.0 // indirect
148+
golang.org/x/sys v0.1.0
149+
golang.org/x/text v0.5.0 // indirect
144150
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
145-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
146-
google.golang.org/api v0.74.0
151+
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
152+
google.golang.org/api v0.106.0
147153
google.golang.org/appengine v1.6.7 // indirect
148-
google.golang.org/genproto v0.0.0-20220405205423-9d709892a2bf // indirect
149-
google.golang.org/grpc v1.45.0 // indirect
150-
google.golang.org/protobuf v1.28.0 // indirect
154+
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
155+
google.golang.org/grpc v1.51.0 // indirect
156+
google.golang.org/protobuf v1.28.1 // indirect
151157
gopkg.in/warnings.v0 v0.1.2 // indirect
152158
)

0 commit comments

Comments
 (0)