Only build latest commit on branch for image (#23306)
This commit is contained in:
parent
ea1507ee85
commit
56d1af753d
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build-image.yml
vendored
5
.github/workflows/build-image.yml
vendored
|
@ -16,6 +16,11 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
build-image:
|
build-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: hadolint/hadolint-action@v3.1.0
|
- uses: hadolint/hadolint-action@v3.1.0
|
||||||
|
|
Loading…
Reference in a new issue