Merge pull request 'Update golang Docker tag to v1.21' (#14) from renovate/golang-1.x into master
ci/woodpecker/push/woodpecker Pipeline was successful Details

Reviewed-on: #14
This commit is contained in:
David 2023-08-10 17:52:58 +00:00
commit 27c3a5c881
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
FROM golang:1.20 FROM golang:1.21
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