diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index 298462d..6642d5c 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -3,14 +3,18 @@ name: Build and push Docker image on: push: branches: - - 'main' + - "main" tags: - - 'v*' + - "v*" pull_request: branches: - - 'main' + - "main" workflow_call: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }}