diff --git a/.gitea/workflows/build-cuda-image.yml b/.gitea/workflows/build-cuda-image.yml index 55b72990..b81a9873 100644 --- a/.gitea/workflows/build-cuda-image.yml +++ b/.gitea/workflows/build-cuda-image.yml @@ -17,12 +17,19 @@ on: description: "llama.cpp CUDA server build (base image tag suffix)" required: false default: "b9821" - # Building the build definition itself kicks off a fresh image. + # Any change that lands in the shipped binary or image kicks off a fresh + # build (source, UI, deps, build definition). Docs/config-example edits + # don't. push: branches: [main] paths: - ".gitea/workflows/build-cuda-image.yml" - "docker/fork-cuda.Containerfile" + - "**/*.go" + - "go.mod" + - "go.sum" + - "ui-svelte/**" + - "llama-swap.go" env: REGISTRY: gitea.stevedudenhoeffer.com