Skip to content

Commit

Permalink
update golang build image to 1.20.6 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorj authored Jul 18, 2023
1 parent 7084651 commit 8f255a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY internal/ internal/

# Version package for passing the ldflags
# TODO: change this to network controller's version
ENV VERSION_PKG=https://github.com/aws/amazon-network-policy-controller-k8s/pkg/version
ENV VERSION_PKG=github.com/aws/amazon-network-policy-controller-k8s/pkg/version
# Build
RUN GIT_VERSION=$(git describe --tags --always) && \
GIT_COMMIT=$(git rev-parse HEAD) && \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ $(MOCKGEN): $(LOCALBIN)
test -s $(MOCKGEN) || GOBIN=$(LOCALBIN) go install github.com/golang/mock/mockgen@v1.6.0

GOARCH=amd64
BUILD_IMAGE=public.ecr.aws/docker/library/golang:1.20.5
BUILD_IMAGE=public.ecr.aws/docker/library/golang:1.20.6
BASE_IMAGE=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:latest.2
GO_RUNNER_IMAGE=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.15.0-eks-1-27-3
.PHONY: docker-buildx
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aws/amazon-network-policy-controller-k8s

go 1.19
go 1.20

require (
github.com/go-logr/logr v1.2.4
Expand All @@ -13,6 +13,7 @@ require (
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.1
go.uber.org/zap v1.24.0
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17
k8s.io/api v0.27.2
k8s.io/apimachinery v0.27.2
k8s.io/client-go v0.27.2
Expand Down Expand Up @@ -54,7 +55,6 @@ require (
github.com/prometheus/procfs v0.9.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/oauth2 v0.5.0 // indirect
golang.org/x/sys v0.8.0 // indirect
Expand Down

0 comments on commit 8f255a4

Please sign in to comment.