about summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-01-29 21:07:19 -0500
committerGitHub <noreply@github.com>2023-01-30 03:07:19 +0100
commit56d1af753d7929817ec25308e0e01c2ab6ed58dc (patch)
tree85a913a7deeded72d7e0fe0f82b1ae72806eeb73 /.github
parentea1507ee851ecdaf8723435971573b460df0fd5b (diff)
Only build latest commit on branch for image (#23306)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-image.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml
index c58229c4d..97cc0c5ce 100644
--- a/.github/workflows/build-image.yml
+++ b/.github/workflows/build-image.yml
@@ -16,6 +16,11 @@ permissions:
 jobs:
   build-image:
     runs-on: ubuntu-latest
+
+    concurrency:
+      group: ${{ github.ref }}
+      cancel-in-progress: true
+
     steps:
       - uses: actions/checkout@v3
       - uses: hadolint/hadolint-action@v3.1.0