Skip to content

Commit

Permalink
Use Dockerfile to specify versions
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Feb 15, 2024
1 parent c470f3a commit dbb17e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,5 @@ jobs:
file: ./images/devel/Dockerfile
platforms: ${IMAGE_PLATFORMS}
build-args: |
CLIENT_GEN_VERSION=v0.26.1
CONTROLLER_GEN_VERSION=v0.9.2
GOLANGCI_LINT_VERSION=v1.42.1
GOLANG_VERSION=${{ matrix.go-version }}
MOQ_VERSION=v0.3.3
tags: ghcr.io/nvidia/k8s-test-infra:devel-go${{ matrix.go-version }}
2 changes: 1 addition & 1 deletion images/devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FROM golang:${GOLANG_VERSION}
ARG CLIENT_GEN_VERSION=v0.26.1
ARG CONTROLLER_GEN_VERSION=v0.9.2
ARG GOLANGCI_LINT_VERSION=v1.52.0
ARG MOQ_VERSION=latest
ARG MOQ_VERSION=v0.3.3

RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION} \
&& go install github.com/matryer/moq@${MOQ_VERSION} \
Expand Down

0 comments on commit dbb17e9

Please sign in to comment.