Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyfilyanin authored Nov 21, 2023
1 parent ab83911 commit ab9eaf6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/docker-image.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 @@ -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
Expand Down

0 comments on commit ab9eaf6

Please sign in to comment.