From 8f8dcd52d55e80af00277f6d46dc4cf89d56dc94 Mon Sep 17 00:00:00 2001 From: Kataev Victor Date: Wed, 27 Aug 2025 16:45:24 +0200 Subject: [PATCH] chore(ci): add concurrency to cancel in-progress builds --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e562d20..c96183d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,9 @@ permissions: env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} +concurrency: + group: docker-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} + cancel-in-progress: true jobs: docker: runs-on: ubuntu-latest @@ -54,7 +57,6 @@ jobs: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64 - # platforms: linux/amd64 push: ${{ github.event_name == 'push' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}