Skip to content

Commit

Permalink
Bump Go to 1.17
Browse files Browse the repository at this point in the history
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
  • Loading branch information
gliptak committed Nov 27, 2021
1 parent 56925b6 commit 2996c9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16.5
1.17.3
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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 . .

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

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2996c9b

Please sign in to comment.