Merge pull request 'Update golang Docker tag to v1.20' (#6) from renovate/golang-1.x into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: #6
This commit is contained in:
David 2023-04-07 02:54:16 +00:00
commit 1ab5a20fb2
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
pipeline: pipeline:
test: test:
image: golang:1.18 image: golang:1.20
commands: commands:
- go test ./... - go test ./...
build: build:

View File

@ -1,4 +1,4 @@
FROM golang:1.18 FROM golang:1.20
WORKDIR /src WORKDIR /src
COPY . ./ COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve