Compare commits

...

2 commits

3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -1,5 +1,5 @@
# Build # Build
FROM golang:1.22 AS build FROM golang:1.23 AS build
WORKDIR /build WORKDIR /build