🤖 Add concurrency to pipeline

run only on main and PRs
This commit is contained in:
Ettore Di Giacinto
2022-09-09 16:55:24 +00:00
parent 13056931cc
commit eb459a74d1

View File

@@ -2,8 +2,14 @@ name: Build image
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-image-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest