38 lines
838 B
Markdown
38 lines
838 B
Markdown
|
---
|
||
|
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?
|
||
|
|
||
|
<!--more-->
|
||
|
|
||
|
## 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
|
||
|
|