Skip to content

Commit

Permalink
cancel-in-progress the container building on github action
Browse files Browse the repository at this point in the history
if new push has been pushed
  • Loading branch information
chmouel committed Aug 22, 2023
1 parent 8bd7be7 commit 76c8852
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
contents: read
packages: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/multi-arch-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
permissions:
contents: read
packages: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 76c8852

Please sign in to comment.