Skip to content

Commit

Permalink
feat: use Go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
aellwein committed Aug 23, 2024
1 parent af50451 commit 5b4e192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM --platform=$BUILDPLATFORM golang:1.22 AS build
FROM --platform=$BUILDPLATFORM golang:1.23 AS build
WORKDIR /workspace
COPY go.mod go.sum .
RUN go mod download
COPY . .
ARG TARGETOS TARGETARCH
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o webhook -ldflags '-w -extldflags "-static"' .

FROM alpine:latest as certs
FROM alpine:latest AS certs
RUN apk add -U --no-cache ca-certificates

FROM busybox:1.36.1-glibc
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aellwein/cert-manager-webhook-netcup

go 1.22.0
go 1.23.0

require (
github.com/aellwein/netcup-dns-api v1.0.5
Expand Down

0 comments on commit 5b4e192

Please sign in to comment.