feat(ci): add concurrency

This makes it so that inprogress builds are cancelled when you make a new push. Matches the rest of ublue.
This commit is contained in:
Jorge O. Castro 2024-11-19 17:13:03 -05:00 committed by GitHub
parent 7aa4737dfa
commit 7864540b70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,10 @@ env:
MY_IMAGE_DESC: "My Customized Universal Blue Image" MY_IMAGE_DESC: "My Customized Universal Blue Image"
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" # do not edit 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: jobs:
build_push: build_push:
name: Build and push image name: Build and push image