Update Gitea version and fix typo
This commit is contained in:
parent
d099c4dcc2
commit
696813fc72
@ -14,7 +14,7 @@ job "gitea" {
|
|||||||
network {
|
network {
|
||||||
mode = "bridge"
|
mode = "bridge"
|
||||||
port "ingress" {
|
port "ingress" {
|
||||||
to = 3000
|
static = 3000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ job "gitea" {
|
|||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "gitea/gitea:1.21.7"
|
image = "gitea/gitea:1.22.1"
|
||||||
ports = ["ingress"]
|
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 .
|
docker build --network host --platform linux/amd64 -t <your_gitea_domain>/caleb/nomad_act_runner:0.0.1 .
|
||||||
```
|
```
|
||||||
|
|
||||||
[!NOTE]
|
> [!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.
|
> 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
|
2. Push Image
|
||||||
```bash
|
```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
|
nomad job run -var "grt=<your_token>" -var "domain=<gitea_domain>" runner.nomad.hcl
|
||||||
```
|
```
|
||||||
|
|
||||||
[!NOTE]
|
> [!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.
|
> 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