diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index cfcda42..036a41e 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -34,7 +34,7 @@ jobs: env: SHA: ${{ github.sha }} REF: ${{ github.ref }} - REMOTE: ssh://git@localhost:2222/adamf/job-tracker.git + REMOTE: ssh://git@git.adam-french.co.uk:2222/adamf/job-tracker.git GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no" CACHE: /home/adamf/.cache/job-tracker-ci/repo.git SRC: /home/adamf/.cache/job-tracker-ci/src-${{ github.sha }} @@ -87,7 +87,7 @@ jobs: runs-on: self-hosted env: SHA: ${{ github.sha }} - REMOTE: ssh://git@localhost:2222/adamf/job-tracker.git + REMOTE: ssh://git@git.adam-french.co.uk:2222/adamf/job-tracker.git GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no" CACHE: /home/adamf/.cache/job-tracker-ci/repo.git SRC: /home/adamf/.cache/job-tracker-ci/publish-${{ github.sha }} diff --git a/README.md b/README.md index a679fb4..345438d 100644 --- a/README.md +++ b/README.md @@ -85,9 +85,9 @@ The image lives in this Gitea's container registry. Two things make that less si So the apex server block in web_server's `nginx/nginx.conf.template` proxies `/v2/` to Gitea and redirects everything else. That was added in web_server commit `da2ab9f`. -1. **Check Gitea's registry is on.** On the host, bypassing nginx: +1. **Check Gitea's registry is on.** On stpvm, straight to the Gitea LXC (the name is pinned to its LAN IP in /etc/hosts): ``` - curl -si http://localhost:3000/v2/ | head -5 + curl -si http://git.adam-french.co.uk:3000/v2/ | head -5 ``` You want a `401` with `Www-Authenticate: Bearer realm="https://adam-french.co.uk/v2/token"`. A `404` means packages are off: add `[packages]` with `ENABLED = true` to Gitea's `app.ini.template` and recreate Gitea.