Compare commits
3 commits
developmen
...
feature/ad
Author | SHA1 | Date | |
---|---|---|---|
7241e730d7 | |||
fba717183b | |||
207a7894f7 |
3 changed files with 5 additions and 4 deletions
1
.github/workflows/.github-ci.yml
vendored
1
.github/workflows/.github-ci.yml
vendored
|
@ -5,6 +5,7 @@ on: push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Repository meta
|
- name: Repository meta
|
||||||
id: repository
|
id: repository
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:1.24.1-alpine AS build-env
|
FROM golang:1.24.1-alpine AS build-env
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
WORKDIR /go/src/github.com/hugomd/ascii-live/
|
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/
|
COPY . /go/src/github.com/hugomd/ascii-live/
|
||||||
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||||
go mod download && \
|
go mod download && \
|
||||||
|
@ -9,5 +9,5 @@ RUN cd /go/src/github.com/hugomd/ascii-live && \
|
||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build-env /go/src/github.com/hugomd/ascii-live/main /
|
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"]
|
CMD ["/main"]
|
||||||
|
|
|
@ -44,7 +44,7 @@ metadata:
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: factory.c-one-infra.de
|
- host: 192-168-197-2.traefik.me
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /ascii-live
|
- path: /ascii-live
|
||||||
|
@ -57,4 +57,4 @@ spec:
|
||||||
tls:
|
tls:
|
||||||
- secretName: ascii-live-tls-prod-cert
|
- secretName: ascii-live-tls-prod-cert
|
||||||
hosts:
|
hosts:
|
||||||
- factory.c-one-infra.de
|
- 192-168-197-2.traefik.me
|
||||||
|
|
Loading…
Reference in a new issue