Skip to content

Commit

Permalink
Change golangci-lint version to the latest and Fix docker build error (
Browse files Browse the repository at this point in the history
…#1435)

* change golangci-lint version to the latest(1.42.1)

Signed-off-by: hlts2 <[email protected]>

* change ubuntu version

Signed-off-by: hlts2 <[email protected]>

* change ubuntu version of agent dockerfile

Signed-off-by: hlts2 <[email protected]>

* fix ngt image actions workflow to be able to hook changes in dockerfile

Signed-off-by: hlts2 <[email protected]>

Co-authored-by: Kevin Diu <[email protected]>
  • Loading branch information
hlts2 and kevindiu authored Sep 8, 2021
1 parent 72a25a7 commit 8b7ab51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dockers-agent-ngt-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ on:
- "apis/grpc/**"
- "pkg/agent/core/ngt/**"
- "cmd/agent/core/ngt/**"
- "dockers/agent/core/ngt/Dockerfile"
- "versions/GO_VERSION"
- "versions/NGT_VERSION"

Expand Down
2 changes: 1 addition & 1 deletion dockers/agent/core/ngt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ARG MAINTAINER="vdaas.org vald team <[email protected]>"

FROM golang:${GO_VERSION} AS golang

FROM ubuntu:devel AS builder
FROM ubuntu:hirsute AS builder

ARG UPX_OPTIONS

Expand Down
4 changes: 2 additions & 2 deletions dockers/ci/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ ARG MAINTAINER="vdaas.org vald team <[email protected]>"

FROM golang:${GO_VERSION} AS golang

FROM ubuntu:devel AS builder
FROM ubuntu:hirsute AS builder
ARG PROTOBUF_VERSION=3.14.0
ARG GOLANGCI_LINT_VERSION=v1.36.0
ARG GOLANGCI_LINT_VERSION=v1.42.1
ARG REVIEWDOG_VERSION=v0.11.0

LABEL maintainer "${MAINTAINER}"
Expand Down
4 changes: 2 additions & 2 deletions dockers/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

ARG MAINTAINER="vdaas.org vald team <[email protected]>"

FROM ubuntu:devel AS builder
FROM ubuntu:hirsute AS builder
ARG PROTOBUF_VERSION=3.14.0
ARG GOLANGCI_LINT_VERSION=v1.36.0
ARG GOLANGCI_LINT_VERSION=v1.42.1
ARG REVIEWDOG_VERSION=v0.11.0
ARG YQ_VERSION=4.5.0

Expand Down

0 comments on commit 8b7ab51

Please sign in to comment.