Compare commits

..

3 commits

Author SHA1 Message Date
7241e730d7 complete unit tests
All checks were successful
ci / build (push) Successful in 47s
2025-04-03 14:38:27 +02:00
fba717183b adds testify unit tests
All checks were successful
ci / build (push) Successful in 46s
2025-03-31 17:30:09 +02:00
207a7894f7 fixes some module and package problems
All checks were successful
ci / build (push) Successful in 44s
2025-03-28 10:13:30 +01:00
3 changed files with 5 additions and 4 deletions

View file

@ -5,6 +5,7 @@ on: push
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Repository meta
id: repository

View file

@ -1,7 +1,7 @@
FROM golang:1.24.1-alpine AS build-env
ENV GO111MODULE=on
WORKDIR /go/src/github.com/hugomd/ascii-live/
# RUN apk add ca-certificates
RUN apk add ca-certificates
COPY . /go/src/github.com/hugomd/ascii-live/
RUN cd /go/src/github.com/hugomd/ascii-live && \
go mod download && \
@ -9,5 +9,5 @@ RUN cd /go/src/github.com/hugomd/ascii-live && \
FROM scratch
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
# COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build-env /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
CMD ["/main"]

View file

@ -44,7 +44,7 @@ metadata:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
rules:
- host: factory.c-one-infra.de
- host: 192-168-197-2.traefik.me
http:
paths:
- path: /ascii-live
@ -57,4 +57,4 @@ spec:
tls:
- secretName: ascii-live-tls-prod-cert
hosts:
- factory.c-one-infra.de
- 192-168-197-2.traefik.me