Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DDmitriy248 committed Nov 26, 2023
1 parent 6346a76 commit a92d350
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: ['master']
workflow_dispatch:

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

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand All @@ -14,16 +18,9 @@ env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}

jobs:
wait-previous-run:
runs-on: ubuntu-latest
steps:
- uses: mktcode/consecutive-workflow-action@v1 # please read security note
with:
token: ${{ secrets.GITHUB_TOKEN }}

build-frontend-image:
runs-on: ubuntu-latest
needs: [wait-previous-run]
permissions:
contents: read
packages: write
Expand Down

0 comments on commit a92d350

Please sign in to comment.