removing crossbuild on docker
This commit is contained in:
@@ -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: |
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user