Update Gitea version and fix typo

This commit is contained in:
Caleb Braaten 2024-08-15 15:44:18 -07:00
parent d099c4dcc2
commit 696813fc72
2 changed files with 7 additions and 6 deletions

View File

@ -14,7 +14,7 @@ job "gitea" {
network {
mode = "bridge"
port "ingress" {
to = 3000
static = 3000
}
}
@ -59,7 +59,7 @@ job "gitea" {
driver = "docker"
config {
image = "gitea/gitea:1.21.7"
image = "gitea/gitea:1.22.1"
ports = ["ingress"]
}

View File

@ -34,8 +34,8 @@ Gitea has a fork of act runner that can be used to run Github actions. In order
docker build --network host --platform linux/amd64 -t <your_gitea_domain>/caleb/nomad_act_runner:0.0.1 .
```
[!NOTE]
You may not need to specify the platform flag. If you use Apple Silicon but deploy to X86, you will need to include the flag.
> [!NOTE]
> You may not need to specify the platform flag. If you use Apple Silicon but deploy to X86, you will need to include the flag.
2. Push Image
```bash
@ -47,5 +47,6 @@ Gitea has a fork of act runner that can be used to run Github actions. In order
nomad job run -var "grt=<your_token>" -var "domain=<gitea_domain>" runner.nomad.hcl
```
[!NOTE]
If you prefer to not use cli variables, you can update the top of the Nomad Job Spec and manually put in the env variables.
> [!NOTE]
> If you prefer to not use cli variables, you can update the top of the Nomad Job Spec and manually put in the env variables.