Add Safari user-select prefix and use REGISTRY_TOKEN secret in Gitea Actions
Build and Publish Docker Image / test-and-publish (push) Successful in 3m9s

This commit is contained in:
FaroeGames committed 2026-11-17 15:44:13 -07:00
1 parent 6e7ccdc6ea
commit a6ebafe248
3 files changed
+9 -3

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
with:
registry: git.trevorstocks.ca
username: ${{ github.repository_owner }}
password: ${{ secrets.GITEA_TOKEN }}
password: ${{ secrets.REGISTRY_TOKEN || secrets.GITEA_TOKEN }}
- name: Build and push image to git.trevorstocks.ca
run: |
+5
View File
@@ -0,0 +1,5 @@
{
"extends": [
"development"
]
}
+3 -2
View File
@@ -73,8 +73,9 @@ Unraid's Docker dashboard **"apply update"** badge only checks **remote Docker r
### Way 1 — Unraid Dashboard **"apply update"** Button (via Gitea Container Registry)
1. In Gitea (`git.trevorstocks.ca`), make sure **Packages** and **Actions** (with a Docker runner) are enabled.
2. Push to `main`: [`.gitea/workflows/docker-publish.yml`](./.gitea/workflows/docker-publish.yml) runs `npm test` and pushes `git.trevorstocks.ca/faroegames/oaktracker:latest`.
1. In Gitea (`git.trevorstocks.ca`), make sure **Packages** and **Actions** (with a Docker-capable runner) are enabled.
2. Generate a Personal Access Token (**Profile → Settings → Applications → Generate New Token**) with **`package` (`write:package`, `read:package`)** permission, then add it to your repository (**Settings → Actions → Secrets**) as **`REGISTRY_TOKEN`** *(Gitea's built-in `GITEA_TOKEN` usually lacks Container Registry write permission)*.
3. Push to `main`: [`.gitea/workflows/docker-publish.yml`](./.gitea/workflows/docker-publish.yml) runs `npm test` and pushes `git.trevorstocks.ca/faroegames/oaktracker:latest`.
3. In Gitea's **Packages** tab for `oaktracker`, set the container package visibility to **Public** (or run `docker login git.trevorstocks.ca` once in the Unraid terminal if keeping it private—note Unraid's automatic UI update checker works most reliably with public HTTPS packages; private custom registries may require clicking **Force Update** or using Watchtower).
4. On Unraid, add the container in **Docker → Add Container** (rather than Compose) with:
- **Name:** `professor-oak-tracker`