diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index 82bb635..19d78c4 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -7,6 +7,10 @@ on: types: - completed +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: docker-image: runs-on: ubuntu-latest @@ -14,8 +18,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.6 - with: - ref: ${{ github.event.workflow_run.head_branch }} - name: Extract metadata (tags, labels) for Docker id: meta