mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-09-12 13:24:34 +00:00
🤖 Add concurrency to pipeline
run only on main and PRs
This commit is contained in:
6
.github/workflows/image.yaml
vendored
6
.github/workflows/image.yaml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user