From 88ea8089d9e20b4de458ca2d54e6932cc80d3bc1 Mon Sep 17 00:00:00 2001 From: Nicholas Turner <1205393+nckturner@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:27:05 -0800 Subject: [PATCH] Update go to 1.21.4 (#648) --- .github/workflows/deps.yml | 36 ++++++++++++++++++++++++++++++++++++ Dockerfile | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deps.yml diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml new file mode 100644 index 000000000..83f3ac14b --- /dev/null +++ b/.github/workflows/deps.yml @@ -0,0 +1,36 @@ +name: "Dependency Review" +on: [push, pull_request, workflow_dispatch] +permissions: + contents: read +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: "Checkout Repository" + uses: actions/checkout@v4 + with: + show-progress: false + - name: "Dependency Review" + uses: actions/dependency-review-action@v3 + govulncheck: + runs-on: ubuntu-latest + steps: + - name: "Checkout Repository" + uses: actions/checkout@v4 + with: + show-progress: false + - id: govulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-input: 1.21.4 + go-version-file: go.mod + - id: govulncheck-tests-integration + uses: golang/govulncheck-action@v1 + with: + go-version-input: 1.21.4 + go-version-file: tests/integration/go.mod + - id: govulncheck-tests-e2e + uses: golang/govulncheck-action@v1 + with: + go-version-input: 1.21.4 + go-version-file: tests/e2e/go.mod diff --git a/Dockerfile b/Dockerfile index 5d3f48a1f..bbf922147 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. ARG image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2023-02-22-1677092456.2 -ARG golang_image=public.ecr.aws/eks-distro-build-tooling/golang:1.19-gcc +ARG golang_image=public.ecr.aws/docker/library/golang:1.21.4 FROM --platform=$BUILDPLATFORM $golang_image AS builder WORKDIR /go/src/github.com/kubernetes-sigs/aws-iam-authenticator