removing crossbuild on docker
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
deploy_haven_notify:
|
deploy_haven_notify:
|
||||||
name: Deploy Haven Notify (internal)
|
name: Deploy Haven Notify (internal)
|
||||||
runs-on: ubuntu-amd64
|
runs-on: ubuntu-amd64
|
||||||
needs: build_haven_notify_amd64
|
needs: build_haven_notify
|
||||||
steps:
|
steps:
|
||||||
- name: Check KUBE_CONFIG validity
|
- name: Check KUBE_CONFIG validity
|
||||||
run: |
|
run: |
|
||||||
|
@@ -3,7 +3,7 @@ FROM golang:1.22-alpine AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
# Build statically for Linux
|
# 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
|
# Use Alpine for running, with CA certificates for TLS
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
Reference in New Issue
Block a user