From 511cf274cdcf878e9ac8ec4cf17ff9c7f112afe3 Mon Sep 17 00:00:00 2001 From: Alexandre ABRIOUX Date: Sat, 6 Jul 2024 00:40:03 +0200 Subject: [PATCH] ci: update actions --- .github/workflows/docker.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 86cc150..6c2e77b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,6 +7,10 @@ on: tags: - 'v*' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: docker: runs-on: ubuntu-latest @@ -42,7 +46,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/bake-action@v4 + uses: docker/bake-action@v5 with: push: ${{ github.event_name != 'pull_request' }} files: |