diff --git a/.github/workflows/CI-CD.yml b/.github/workflows/CI-CD.yml index 24fad27..af7a21a 100644 --- a/.github/workflows/CI-CD.yml +++ b/.github/workflows/CI-CD.yml @@ -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 }} @@ -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