Add static website to caddy

This commit is contained in:
2022-02-02 00:14:05 +01:00
parent f5f661ac4c
commit 163b771335
4 changed files with 25 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
# runner
After installation, individual runners must still be registered, e.g.:
```
docker run --rm -it -v gitlab_runner_config:/etc/gitlab-runner gitlab/gitlab-runner register --name <name>
```
An issue I encountered when trying to cache stuff between builds was the following warning in the runner logs:
```
ERROR: Could not create cache adapter error=cache factory not found: factory for cache adapter "" was not registered
```
In order to make the runner able to create caches, register it like so:
```
docker run --rm -it -v gitlab_runner_config:/etc/gitlab-runner gitlab/gitlab-runner register --name <name> --docker-disable-cache=false -docker-cache-dir /cache --docker-volumes gitlab_runner_cache:/cache
```