Update Gitea version and fix typo
This commit is contained in:
parent
d099c4dcc2
commit
696813fc72
nomad_jobs/services/gitea
@ -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"]
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user