Update golang Docker tag to v1.23
This commit is contained in:
parent
05787c90aa
commit
64a8a2a1c7
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
steps:
|
steps:
|
||||||
lint:
|
lint:
|
||||||
image: golang:1.22
|
image: golang:1.23
|
||||||
commands:
|
commands:
|
||||||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
steps:
|
steps:
|
||||||
- name: Build
|
- name: Build
|
||||||
image: golang:1.22
|
image: golang:1.23
|
||||||
commands:
|
commands:
|
||||||
- go mod download
|
- go mod download
|
||||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -o plakken-linux-amd64 # Enable static binary, target Linux, remove debug information and strip binary
|
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -o plakken-linux-amd64 # Enable static binary, target Linux, remove debug information and strip binary
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Build
|
# Build
|
||||||
FROM golang:1.22 AS build
|
FROM golang:1.23 AS build
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue