update go version
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
stryan 2024-06-26 23:10:21 -04:00
parent d843e2f5bf
commit 73a964ea7a
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.20 as builder FROM golang:1.21 as builder
WORKDIR /go/src/app WORKDIR /go/src/app
COPY . . COPY . .
RUN apt update && apt upgrade -y RUN apt update && apt upgrade -y
@ -6,7 +6,7 @@ RUN CGO_ENABLED=0 go build
FROM alpine:latest as final FROM alpine:latest as final
WORKDIR /app WORKDIR /app
RUN mkdir -p /lib64 RUN mkdir -p /lib64
COPY --from=builder /go/src/app/tildewatch /app/ COPY --from=builder /go/src/app/tildewatch /app/
CMD ["/app/tildewatch"] CMD ["/app/tildewatch"]

2
go.mod
View File

@ -1,6 +1,6 @@
module git.saintnet.tech/stryan/tildewatch module git.saintnet.tech/stryan/tildewatch
go 1.20 go 1.21
require ( require (
github.com/charmbracelet/log v0.4.0 github.com/charmbracelet/log v0.4.0