From ab9eaf69f9d8548552e9616e4c260fa0855e1087 Mon Sep 17 00:00:00 2001 From: sergey filyanin Date: Tue, 21 Nov 2023 10:20:27 +0100 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 4ae8682..00b4c48 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.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 }} @@ -15,16 +19,9 @@ env: KUBE_NAMESPACE: gear-dapps 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-and-push-dashboard-image: runs-on: ubuntu-latest - needs: [wait-previous-run] permissions: contents: read packages: write