Skip to content

Commit f3afd1f

Browse files
committed
force vulns check to use specified go version
1 parent ff07f9a commit f3afd1f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/presubmit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ jobs:
4343
steps:
4444
- name: Checkout
4545
uses: actions/checkout@v3
46+
- uses: actions/setup-go@v4
47+
with:
48+
go-version: '1.21.4'
49+
cache-dependency-path: "**/go.sum"
4650
- name: Install `govulncheck`
4751
run: go install golang.org/x/vuln/cmd/govulncheck@latest
4852
- name: Run `govulncheck`

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN GIT_VERSION=$(git describe --tags --always) && \
3434
FROM $BASE_IMAGE
3535

3636
WORKDIR /
37-
COPY --from=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.9.0-eks-1-21-4 /usr/local/bin/go-runner /usr/local/bin/go-runner
37+
COPY --from=public.ecr.aws/eks-distro/kubernetes/go-runner:v0.15.0-eks-1-27-3 /go-runner /usr/local/bin/go-runner
3838
COPY --from=builder /workspace/controller .
3939

4040
ENTRYPOINT ["/controller"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ MAKEFILE_PATH = $(dir $(realpath -s $(firstword $(MAKEFILE_LIST))))
1212
VERSION ?= $(GIT_VERSION)
1313
IMAGE ?= $(REPO):$(VERSION)
1414
BASE_IMAGE ?= public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:latest.2
15-
BUILD_IMAGE ?= public.ecr.aws/bitnami/golang:1.21.3
15+
BUILD_IMAGE ?= public.ecr.aws/bitnami/golang:1.21.4
1616
GOARCH ?= amd64
1717
PLATFORM ?= linux/amd64
1818

0 commit comments

Comments
 (0)