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

Commit eec0d16

Browse files
committed
chore: update docker-credential-gcr to use v2
1 parent 818b139 commit eec0d16

35 files changed

Lines changed: 92 additions & 52 deletions

File tree

deploy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ COPY . .
4141
# Then submit a PR with the changes to `go.mod`, `go.sum`, and `vendor`.
4242

4343
# Get GCR credential helper
44-
RUN go install github.com/GoogleCloudPlatform/docker-credential-gcr
44+
RUN go install github.com/GoogleCloudPlatform/docker-credential-gcr/v2
4545

4646
# Get Amazon ECR credential helper
4747
RUN go install github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login

go.mod

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
module github.com/GoogleContainerTools/kaniko
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
cloud.google.com/go/storage v1.38.0
77
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.0
8-
// This docker-credential-gcr dependency version is actually the same as v2.1.8.
9-
// See https://github.com/GoogleCloudPlatform/docker-credential-gcr/issues/128
10-
// To update run: go get github.com/GoogleCloudPlatform/docker-credential-gcr@<commit-sha>
11-
// The version string is a side-effect of Go module version numbering rules. Functionality is otherwise unchanged.
12-
github.com/GoogleCloudPlatform/docker-credential-gcr v1.5.1-0.20230328182921-62afb2723512
138
github.com/aws/aws-sdk-go-v2 v1.25.0
149
github.com/aws/aws-sdk-go-v2/config v1.27.0
1510
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.1
@@ -156,6 +151,7 @@ require (
156151
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
157152
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.2 // indirect
158153
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.2 // indirect
154+
github.com/GoogleCloudPlatform/docker-credential-gcr/v2 v2.1.22 // indirect
159155
github.com/Microsoft/hcsshim v0.11.0 // indirect
160156
github.com/aws/aws-sdk-go-v2/service/ecr v1.24.5 // indirect
161157
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.21.5 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
5555
github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
5656
github.com/GoogleCloudPlatform/docker-credential-gcr v1.5.1-0.20230328182921-62afb2723512 h1:cauzkEqKnOXwl0L5futNq6BbWWtIRPfJtwDDulac6A8=
5757
github.com/GoogleCloudPlatform/docker-credential-gcr v1.5.1-0.20230328182921-62afb2723512/go.mod h1:6u40niDQl1ufFtykax72lx+pcIO67AoUSu9ebOzdA8Q=
58+
github.com/GoogleCloudPlatform/docker-credential-gcr/v2 v2.1.22 h1:HevuUpLsTedep2D6wnIp6AAJbVgP0BiVxaMt3HXeOyA=
59+
github.com/GoogleCloudPlatform/docker-credential-gcr/v2 v2.1.22/go.mod h1:nzCpg7DFIIkQIZB3mdUPXVvqQ5f/GahA6xgWXTjnK7w=
5860
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
5961
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
6062
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=

tools/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package tools
2222
// dependencies https://github.com/golang/go/issues/48332
2323
// These are placeholder imports the make go mod include these tools in its dependency graph.
2424
import (
25-
_ "github.com/GoogleCloudPlatform/docker-credential-gcr"
25+
_ "github.com/GoogleCloudPlatform/docker-credential-gcr/v2"
2626
_ "github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login"
2727
_ "github.com/chrismellard/docker-credential-acr-env"
2828
)

vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/.gitignore renamed to vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/.gitignore

File renamed without changes.

vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/.goreleaser.yml renamed to vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/.goreleaser.yml

File renamed without changes.

vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/BUILD renamed to vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/BUILD

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/CONTRIBUTING.md renamed to vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/CONTRIBUTING.md

File renamed without changes.

vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/LICENSE renamed to vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/LICENSE

File renamed without changes.

vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/README.md renamed to vendor/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/README.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)