Skip to content

Commit 38e8761

Browse files
committed
bump golang version to 1.18 and ko to 0.10.0
1 parent 7e3303c commit 38e8761

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build: ## Build the gcp-auth-webhook binary
88
.PHONY: image
99
image: ## Create and push multiarch manifest and images
1010
@read -p "This will build and push $(REGISTRY)/gcp-auth-webhook:$(VERSION). Do you want to proceed? (Y/N): " confirm && echo $$confirm | grep -iq "^[yY]" || exit 1;
11-
curl -L https://github.com/google/ko/releases/download/v0.8.3/ko_0.8.3_$(GOOS)_x86_64.tar.gz | tar xzf - ko && chmod +x ./ko
11+
curl -L https://github.com/google/ko/releases/download/v0.10.0/ko_0.10.0_$(GOOS)_x86_64.tar.gz | tar xzf - ko && chmod +x ./ko
1212
KO_DOCKER_REPO=$(REGISTRY) ./ko publish -B . --platform all -t $(VERSION)
1313
rm ./ko
1414

go.mod

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
module github.com/GoogleContainerTools/gcp-auth-webhook
22

3-
go 1.14
3+
go 1.18
44

55
require (
66
k8s.io/api v0.20.4
77
k8s.io/apimachinery v0.20.4
88
)
9+
10+
require (
11+
github.com/go-logr/logr v0.2.0 // indirect
12+
github.com/gogo/protobuf v1.3.1 // indirect
13+
github.com/google/gofuzz v1.1.0 // indirect
14+
github.com/json-iterator/go v1.1.10 // indirect
15+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
16+
github.com/modern-go/reflect2 v1.0.1 // indirect
17+
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect
18+
golang.org/x/text v0.3.4 // indirect
19+
gopkg.in/inf.v0 v0.9.1 // indirect
20+
gopkg.in/yaml.v2 v2.2.8 // indirect
21+
k8s.io/klog/v2 v2.4.0 // indirect
22+
sigs.k8s.io/structured-merge-diff/v4 v4.0.2 // indirect
23+
sigs.k8s.io/yaml v1.2.0 // indirect
24+
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3
143143
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
144144
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
145145
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
146-
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
147146
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
148147
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
149148
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=

0 commit comments

Comments
 (0)