removing arch from go build
Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 1m7s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Failing after 13m14s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 24s

This commit is contained in:
2025-08-22 21:08:28 -03:00
parent 8108ca7e7b
commit 99e110afb3
4 changed files with 7 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ env:
jobs:
build_haven_notify:
name: Build Haven Notify Image
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository

View File

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

View File

@@ -1,4 +1,6 @@
# Haven Notify
<div align="center">
<img src="./assets/widelogo.png" alt="Haven Notify Logo">
</div>
## Overview
Haven Notify is an internal service designed to send notifications to a specified Discord channel.

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB