Compare commits

..

5 commits

Author SHA1 Message Date
e72ef905ce testing removal of ca-certicates from docker file
All checks were successful
ci / build (push) Successful in 43s
2025-04-28 15:38:54 +02:00
3717327e7f testing local build 2025-04-28 14:34:46 +02:00
bd09827c56 updates host in deployment.yaml
All checks were successful
ci / build (push) Successful in 46s
2025-04-28 14:07:50 +02:00
0ac58cfdbb updates host in deployment.yaml
All checks were successful
ci / build (push) Successful in 44s
2025-04-28 14:05:38 +02:00
6b779b1721 adds unit tests (#5)
All checks were successful
ci / build (push) Successful in 46s
Reviewed-on: #5
Co-authored-by: franz.germann <franz.germann@telekom.de>
Co-committed-by: franz.germann <franz.germann@telekom.de>
2025-04-03 12:40:41 +00:00
3 changed files with 4 additions and 5 deletions

View file

@ -5,7 +5,6 @@ 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: 192-168-197-2.traefik.me
- host: factory.c-one-infra.de
http:
paths:
- path: /ascii-live
@ -57,4 +57,4 @@ spec:
tls:
- secretName: ascii-live-tls-prod-cert
hosts:
- 192-168-197-2.traefik.me
- factory.c-one-infra.de