Build with golang:1.18-alpine3.16

This commit is contained in:
guessi 2022-05-28 21:39:38 +08:00
parent b56c5cca3c
commit 9a946cb4fc
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ platform:
steps: steps:
- name: test - name: test
image: public.ecr.aws/docker/library/golang:1.18-alpine3.15 image: public.ecr.aws/docker/library/golang:1.18-alpine3.16
commands: commands:
- go version - go version
- go fmt ./... - go fmt ./...

View File

@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/golang:1.18-alpine3.15 AS builder FROM public.ecr.aws/docker/library/golang:1.18-alpine3.16 AS builder
RUN apk add --no-cache git ca-certificates RUN apk add --no-cache git ca-certificates
WORKDIR ${GOPATH}/src/github.com/guessi/ssl-certs-checker WORKDIR ${GOPATH}/src/github.com/guessi/ssl-certs-checker
COPY *.go go.mod go.sum ./ COPY *.go go.mod go.sum ./