summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJorge O. Castro <jorge.castro@gmail.com>2024-12-02 22:52:48 -0500
committerGitHub <noreply@github.com>2024-12-02 22:52:48 -0500
commit90c3f2c60a127e440e94d621e65fb8aee14dcc92 (patch)
tree31cb131974493eff54243cdec24c4adeb01513a0 /.github
parent45dad42de4c0fbcf3941bf455dc055427e976053 (diff)
downloadAeroCore-OS-90c3f2c60a127e440e94d621e65fb8aee14dcc92.tar.gz
AeroCore-OS-90c3f2c60a127e440e94d621e65fb8aee14dcc92.zip
feat(ci): add concurrency (#38)
This makes it so that inprogress builds are cancelled when you make a new push. Matches the rest of ublue.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a61ef2d..b6d3598 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -18,6 +18,10 @@ env:
MY_IMAGE_DESC: "My Customized Universal Blue Image"
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" # do not edit
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ inputs.brand_name}}-${{ inputs.stream_name }}
+ cancel-in-progress: true
+
jobs:
build_push:
name: Build and push image