Skip to content

Open-source status page, incident response and uptime monitoring

😭

Thibault Le Ouay099581c20e07
diff --git a/.github/workflows/publish-checker.yml b/.github/workflows/publish-checker.yml
index 2ada1a4f5..a51308ca2 100644
--- a/.github/workflows/publish-checker.yml
+++ b/.github/workflows/publish-checker.yml
@@ -55,7 +55,7 @@ jobs:
- name: Build and push
uses: depot/build-push-action@v1
with:
- file: private-location
+ file: apps/checker/private-location.Dockerfile
project: 9cknw183m8
context: apps/checker
tags: ghcr.io/openstatushq/private-location:latest
diff --git a/apps/checker/private-location b/apps/checker/private-location
deleted file mode 100644
index aae64e0cb..000000000
--- a/apps/checker/private-location
+++ /dev/null
@@ -1,31 +0,0 @@
-FROM golang:1.25-alpine as builder
-
-WORKDIR /go/src/app
-
-RUN apk add --no-cache tzdata
-ENV TZ=UTC
-
-ENV CGO_ENABLED=0
-ENV GOOS=linux
-ENV GOARCH=amd64
-
-COPY go.* .
-RUN go mod download
-
-COPY . .
-RUN go build -trimpath -ldflags "-s -w" -o private ./cmd/private
-
-FROM scratch
-
-WORKDIR /opt/bin
-
-COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
-COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
-
-COPY --from=builder /go/src/app/private /opt/bin/private
-
-ENV TZ=UTC
-ENV USER=1000
-ENV GIN_MODE=release
-
-CMD [ "/opt/bin/private" ]