Compare commits
5 commits
feature/ad
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
e72ef905ce | |||
3717327e7f | |||
bd09827c56 | |||
0ac58cfdbb | |||
6b779b1721 |
3 changed files with 4 additions and 5 deletions
1
.github/workflows/.github-ci.yml
vendored
1
.github/workflows/.github-ci.yml
vendored
|
@ -5,7 +5,6 @@ on: push
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- name: Repository meta
|
||||
id: repository
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue