CI: build release images only from vX.Y.Z tags
Tests still run on every push. The docker job is gated on ref_type=tag, validates the tag is a strict vX.Y.Z semver, and publishes :<tag> plus :latest. No branch images (sha-* / main latest) anymore.
This commit is contained in:
@@ -67,10 +67,11 @@ docker run --rm -p 11434:11434 -p 8188:8188 \
|
||||
gpu-turnstile
|
||||
```
|
||||
|
||||
Releases are built by Gitea Actions (`.gitea/workflows/ci.yml`): pushes run
|
||||
`go vet` and `go test -race` and publish
|
||||
`git.rambossek.at/<owner>/gpu-turnstile:sha-<short>`; `main` additionally gets
|
||||
`:latest`, and a git tag `vX.Y.Z` produces the versioned image.
|
||||
Releases are built by Gitea Actions (`.gitea/workflows/ci.yml`): every push
|
||||
runs `go vet` and `go test -race`, and pushing a semantic-version tag
|
||||
`vX.Y.Z` builds and publishes
|
||||
`git.rambossek.at/<owner>/gpu-turnstile:vX.Y.Z` (and updates `:latest`).
|
||||
No images are built from branches.
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Reference in New Issue
Block a user