Auto-cancel redundant builds on new commits

- Add workflow auto_cancel to cancel old pipelines
- Mark build job as interruptible
- Deploy jobs remain non-interruptible for safety
This commit is contained in:
Graham McIntire 2026-01-03 15:57:03 -06:00
parent 7a3bb1bde1
commit 547b7f1f14
No known key found for this signature in database

View file

@ -6,8 +6,13 @@ variables:
DOCKER_BUILDKIT: 1
CI_BUILDX_ARCHS: "linux/amd64"
workflow:
auto_cancel:
on_new_commit: interruptible
build:
stage: build
interruptible: true
image: docker:24
services:
- docker:24-dind