summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
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
commit484c6aa0019d481f5673fb3289d24d3be9cd2658 (patch)
tree31cb131974493eff54243cdec24c4adeb01513a0 /.github/workflows/build.yml
parent5267feaaea8fb23561c5e5ca640e4ca614a34b91 (diff)
downloadAeroCore-OS-484c6aa0019d481f5673fb3289d24d3be9cd2658.tar.gz
AeroCore-OS-484c6aa0019d481f5673fb3289d24d3be9cd2658.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/workflows/build.yml')
-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