Skip to content

Commit e8b94c4

Browse files
authoredNov 3, 2022
Merge pull request #212 from hligit/bump-golang-and-alpine
Dockefile: Bump golang and Alpine
2 parents a1be5b8 + ab9f244 commit e8b94c4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
 

‎.github/workflows/golangci-lint.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111
name: lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/setup-go@v3
15+
with:
16+
go-version: 1.19
17+
- uses: actions/checkout@v3
1518
- name: golangci-lint
16-
uses: golangci/golangci-lint-action@v2
19+
uses: golangci/golangci-lint-action@v3
1720
with:
18-
version: v1.45
21+
version: v1.50.1
1922
args: --timeout=5m

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.17 as builder
1+
FROM --platform=$BUILDPLATFORM golang:1.19 as builder
22
ARG TARGETPLATFORM
33
WORKDIR /go/src/github.com/atlassian/escalator/
44
COPY go.mod go.sum Makefile ./
55
COPY cmd cmd
66
COPY pkg pkg
77
RUN make build
88

9-
FROM alpine:latest
9+
FROM alpine:3.16
1010
RUN apk --no-cache add ca-certificates
1111
COPY --from=builder /go/src/github.com/atlassian/escalator/escalator ./main
1212
CMD [ "./main" ]

0 commit comments

Comments
 (0)
Failed to load comments.