diff --git a/.go-version b/.go-version index d88103e..021c75e 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.16.5 \ No newline at end of file +1.17.3 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index caa87a4..f2802d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.16.5-alpine3.13 as builder +FROM golang:1.17.3-alpine3.14 as builder WORKDIR /go/src/github.com/rajatjindal/krew-release-bot COPY . . @@ -6,7 +6,7 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux go test -mod vendor ./... -cover RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor --ldflags "-s -w" -o krew-release-bot cmd/action/* -FROM alpine:3.13.5 +FROM alpine:3.14.3 RUN mkdir -p /home/app diff --git a/go.mod b/go.mod index 3881f2f..3815128 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/rajatjindal/krew-release-bot -go 1.16 +go 1.17 require ( github.com/aws/aws-lambda-go v1.17.0