Skip to content

Commit

Permalink
Prevent concurrent builds, where older runs possibly overwrite a newe…
Browse files Browse the repository at this point in the history
…r run
  • Loading branch information
ckulka committed May 4, 2024
1 parent f3adbc8 commit a35eeb8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
- "*.dockerfile"
- files/**

concurrency:
group: build-experimental-images
cancel-in-progress: true

# Run the automated tests first, then publish the images if the tests pass
jobs:
test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
types:
- published

concurrency:
group: build-release-images
cancel-in-progress: true

jobs:
parse_release_tag:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
types:
- published

concurrency:
group: dockerhub-description
cancel-in-progress: true

jobs:
update:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a35eeb8

Please sign in to comment.