From b80cd1e8bfd94995f01eee3cd2c682235c6f0cca Mon Sep 17 00:00:00 2001 From: LordMathis Date: Sat, 25 Nov 2023 20:46:19 +0100 Subject: [PATCH] Add actions draft --- content/blog/gitea_actions_k3s_docker.md | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 content/blog/gitea_actions_k3s_docker.md diff --git a/content/blog/gitea_actions_k3s_docker.md b/content/blog/gitea_actions_k3s_docker.md new file mode 100644 index 0000000..690b1a7 --- /dev/null +++ b/content/blog/gitea_actions_k3s_docker.md @@ -0,0 +1,37 @@ +--- +title: "Building a Docker Container with Gitea Actions on K3s" +date: "2023-11-25" +draft: true +--- + +Building a docker image and pushing it to registry with GitHub Actions is incredibily easy. Since Gitea Actions are compatible with GitHub Actions this should be easy, right? + + + +## Gitea Actions + +- Released with 1.19 +- Based of act runner +- Mostly compatible with GitHub Actions + +## Building and Pushing Docker Image with GitHub Actions + +- straight forward with docker actions + +## Building with Gitea + +Deploying example dind-rootless + +Testing with the same workflow as on github + +docker command not found +-> switch container to callthehacker + +/var/run/docker.sock -> is docker daemon running? +-> Changing the DOCKER_HOST variable + +cant mount sys fs permission denied +-> run docker commands directly + +side step with buildah +