anoter retry
Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 6s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (push) Has been cancelled

This commit is contained in:
2025-08-22 21:32:27 -03:00
parent 99e110afb3
commit 12920c10d4

View File

@@ -1,9 +1,9 @@
# Start from the official Golang image for building
FROM golang:1.22 AS builder
FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY . .
# Build statically for Linux
RUN GOOS=linux CGO_ENABLED=0 go build -o haven-notify main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) go build -o haven-notify main.go
# Use Alpine for running, with CA certificates for TLS
FROM alpine:latest