diff --git a/.gitea/workflows/image-only.yml b/.gitea/workflows/image-only.yml index 1692f4e..6c91d9b 100644 --- a/.gitea/workflows/image-only.yml +++ b/.gitea/workflows/image-only.yml @@ -20,6 +20,13 @@ on: - "Dockerfile" - "sources.json" +# If multiple pushes land in quick succession, cancel the older one +# rather than queueing both — each run is ~90 min and the older +# commit's image just gets overwritten by the newer one anyway. +concurrency: + group: image-only + cancel-in-progress: true + env: REGISTRY_PUSH: 192.168.0.2:1234 REGISTRY_PULL: git.jpaul.io