fix(ci): image tag was empty on scheduled runs (#20)

Co-authored-by: claude <[email protected]>
This commit was merged in pull request #20.
This commit is contained in:
2026-09-01 11:19:08 -04:00
committed by claude
parent 215c7bb09a
commit 953e0f10f9
3 changed files with 37 additions and 7 deletions
+5 -1
View File
@@ -194,7 +194,11 @@ template's PLAN.md.
### Image name and package linking are repo-name-derived
`IMAGE` and `--package` derive from the repo at runtime via
`${{ github.repository_owner }}` / `${{ github.event.repository.name }}`.
`${{ github.repository }}` / `${GITHUB_REPOSITORY##*/}`. Do **not** use
`${{ github.event.repository.name }}` — it resolves to EMPTY on
`schedule` events (Gitea >= 1.27), which silently builds the tag
`192.168.0.2:1234/<owner>/:latest` and fails the build *after* the
full scrape. The `Verify image name resolves` step guards it.
The only workflow placeholders customized per clone are
`REGISTRY_PUSH=192.168.0.2:1234`, `REGISTRY_PULL=git.jpaul.io`,
and the `OLLAMA_URL` embed pool.