Compare commits

...

2 Commits

Author SHA1 Message Date
Mathis 6e175e0a60 Add tags
Build website container / Build image (push) Successful in 10m45s Details
2024-01-05 20:31:31 +01:00
Mathis 2ed43b4c83 Enable access logs 2024-01-05 20:29:25 +01:00
5 changed files with 28 additions and 1 deletions

View File

@ -10,4 +10,5 @@ RUN hugo mod get -u && \
FROM nginx:stable-alpine
COPY --from=build /app/public /usr/share/nginx/html/
COPY --from=build /app/public /usr/share/nginx/html/
COPY ./nginx.conf /etc/nginx/conf.d/default.conf

View File

@ -1,6 +1,10 @@
---
title: "Building a Docker Container with Gitea Actions on K3s"
date: "2023-12-28"
tags:
- gitea
- k3s
- cicd
---
Building a Docker image and pushing it to the registry with GitHub Actions is incredibily easy. Since Gitea Actions are designed to be compatible with GitHub Actions, this should be easy, right?

View File

@ -1,6 +1,9 @@
---
title: "Replicating Gitea Docker SSH Passthrough on K3s"
date: "2023-02-12"
tags:
- gitea
- k3s
---
If you are selfhosting Gitea on a single node Kubernetes cluster and want to enable git through SSH while keeping SSH connection to the cluster, this guide is for you.

View File

@ -1,6 +1,8 @@
---
title: "Building My Resume with GitHub Actions"
date: "2023-10-02"
tags:
- cicd
---
Even if you are not actively looking for a new job, it is a good idea to have an up to date resume. I'm using Overleaf's GitHub integration and GitHub Actions to build PDF from my LaTeX resume and release it on GitHub

17
nginx.conf Normal file
View File

@ -0,0 +1,17 @@
server {
listen 80;
listen [::]:80;
server_name localhost;
access_log /var/log/nginx/access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}