Compare commits

..

1 Commits

Author SHA1 Message Date
696813fc72 Update Gitea version and fix typo 2024-08-15 15:44:18 -07:00
2 changed files with 7 additions and 6 deletions

View File

@@ -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"]
} }

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 . 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.