From 11e2a28bd4ca7fd4785d2eb180bc24ccec402bbd Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Fri, 22 Aug 2025 22:00:11 -0300 Subject: [PATCH] removing crossbuild on docker --- .gitea/workflows/haven-notify.yaml | 2 +- haven-notify/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/haven-notify.yaml b/.gitea/workflows/haven-notify.yaml index 29f4058..b2e2fc7 100644 --- a/.gitea/workflows/haven-notify.yaml +++ b/.gitea/workflows/haven-notify.yaml @@ -49,7 +49,7 @@ jobs: deploy_haven_notify: name: Deploy Haven Notify (internal) runs-on: ubuntu-amd64 - needs: build_haven_notify_amd64 + needs: build_haven_notify steps: - name: Check KUBE_CONFIG validity run: | diff --git a/haven-notify/Dockerfile b/haven-notify/Dockerfile index 2771a87..d623779 100644 --- a/haven-notify/Dockerfile +++ b/haven-notify/Dockerfile @@ -3,7 +3,7 @@ FROM golang:1.22-alpine AS builder WORKDIR /app COPY . . # Build statically for Linux -RUN CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) go build -o haven-notify main.go +RUN CGO_ENABLED=0 go build -o haven-notify main.go # Use Alpine for running, with CA certificates for TLS FROM alpine:latest