removing arch from go build
This commit is contained in:
@@ -18,7 +18,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build_haven_notify:
|
build_haven_notify:
|
||||||
name: Build Haven Notify Image
|
name: Build Haven Notify Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
|
@@ -1,10 +1,9 @@
|
|||||||
# Start from the official Golang image for building
|
# Start from the official Golang image for building
|
||||||
ARG TARGETARCH=amd64
|
FROM golang:1.22 AS builder
|
||||||
FROM golang:1.25 AS builder
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
# Build statically for Linux and selected architecture
|
# Build statically for Linux
|
||||||
RUN GOOS=linux GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -o haven-notify main.go
|
RUN GOOS=linux 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
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
# Haven Notify
|
<div align="center">
|
||||||
|
<img src="./assets/widelogo.png" alt="Haven Notify Logo">
|
||||||
|
</div>
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
Haven Notify is an internal service designed to send notifications to a specified Discord channel.
|
Haven Notify is an internal service designed to send notifications to a specified Discord channel.
|
||||||
|
BIN
haven-notify/assets/widelogo.png
Normal file
BIN
haven-notify/assets/widelogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 334 KiB |
Reference in New Issue
Block a user